1. Are you ready for the Galaxy S20? Here is everything we know so far!

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

    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?
     



    1. Download the Forums for Android™ app!


      Download

       
Loading...
Similar Threads - security exception adb
  1. ironass
    Replies:
    0
    Views:
    215
  2. ironass
    Replies:
    0
    Views:
    232
  3. ironass
    Replies:
    0
    Views:
    225
  4. jsmith50
    Replies:
    4
    Views:
    297
  5. App Update
    Replies:
    0
    Views:
    245
  6. TuxPhone
    Replies:
    4
    Views:
    251
  7. 4Jonah
    Replies:
    7
    Views:
    386
  8. Trom
    Replies:
    6
    Views:
    314
  9. David JC
    Replies:
    1
    Views:
    338
  10. jsmith50
    Replies:
    13
    Views:
    708

Share This Page

Loading...