[android-developers] Re: Incoming HTTP requests
Add
<uses-permission android:name="android.permission.INTERNET" />
in AndroidManifest.xml under <manifest .... header, before the
<application>
</application> pair.
See http://developer.android.com/reference/android/Manifest.permission.html
On May 23, 7:12 am, kypriakos <demet...@ece.neu.edu> wrote:
> Hi all,
>
> for the sole purpose of performance analysis I want to allow HTTP
> incoming
> requests to be enabled on an Android device - I am running a custom
> made
> HTTP server on it. Currently the client phone resides in the same LAN
> as
> the server and it can ping it. The server opens a port 5000 and waits
> for
> incoming requests. The client get a connection refused exception once
> it
> tries to connect to the server. I am running this on a number of
> versions
> from Android 1.6 to 3+.
>
> 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
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home