Go Back   Android Forums > Android Development > Application Development
Application Development Dev lounge for our application developers.

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old August 17th, 2012, 05:49 AM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Aug 2012
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default security exception in adb.exe (android debug bridge) when using commandline

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?

droidppilot is offline  
Reply With Quote
sponsored links
Reply


Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:56 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.