Yes and you have the right idea about needing something that will
listen on a socket, but you will probably need to put it on a higher
port number and include that in the URL, since on most linuxes non
privileged processes cannot claim low port numbers such as 80.   Port
8080 was often used in the old days...

You could do this by porting some compact embedded linux http server
by abusing the ndk toolchain, but the android folks would say it's
better done in java

On Sep 3, 7:49 pm, "droidin.net" <[email protected]> wrote:
> Is it possible to do something like WebView#loadUrl("http://10.0.0.2/
> index.html") with service acting as local http server? Where would one
> start? Will I need at least partial http server implementation that
> would listen on the socket?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to