Tuesday, July 19, 2011

[android-developers] Re: HttpURLConnection gives FileNotFoundException

Further investigation provides some additional information on this topic:

It appears to be a permission issue as also the initial send request operation fails.
Without an exception however, but with the following status code from httpUrlConnection:

  401 Unautorized

Note: I do include INTERNET permission in the manifest file (but nothing else).

Someone suggested that an app needs root permissions to access port 80, but
I could not find any confirmation on this?

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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment