My app attempts to do a https post from an AsyncTask's doInBackground method. The app has <permission android:name="android.permission.INTERNET"></permission> in the manifest in the correct location (it's the last line before </ manifest> so it's at the same level as the <application> sibling element).
But, while running in the emulator, it fails to get permission to lookup the IP of the host, and if I switch to using a dotted quad instead of a hostname, it gets a Permission denied socket exception. Please help, I'm at my wit's end, it looks like everything is correct from what I have read. Is it because the async thread doesn't have the same permissions as the application? If so, what is the correct way to spawn a potentially long-running http request from an activity? Thanks. -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en