Monday, June 25, 2012

[android-developers] may i declare in the AndroidManifest.xml of the test project?

hi all,

i created an Android project and a test project. 
my test cases want to access network, e.g. upload test log to my log server.  
my app doesn't access network, however. 

 <uses-permission android:name="android.permission.INTERNET" /> 
so where shall i declare above <uses-permission >?  in application's manifest or in test project's manifest?

according to my test, i works only when i put it in application manifest.   
when i put it in test project, i got permission denial security exception...

what shall i do? 

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate