1. Download our Official Android App: Forums for Android!

Apps security exception in adb.exe (android debug bridge) when using commandline

Discussion in 'Android Development' started by droidppilot, Aug 17, 2012.

  1. droidppilot

    droidppilot Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Aug 17, 2012

    Aug 17, 2012
    1
    0
    5
    I am sending this command in a c# .net program to adb.exe like this

    string command="shell am start -a android.intent.action.CALL tel:xxx";

    Process p = new Process();
    p.StartInfo = new ProcessStartInfo("adb.exe", command)
    p.Start();
    string output = p.StandardOutput.ReadToEnd();

    But I get a java.lang.securityexception........requires android.permission.CALL_PHONE

    I googled that I need to configure androidmanifest.xml

    but where will I put that file it in my setup?
     

    Advertisement

Share This Page

Loading...