Il giorno sab, 19/06/2010 alle 08.36 -0400, Mark Murphy ha scritto:

> Sure. In this area, Android works pretty similar to standard Java.

Thank you.

> There is no equivalent of inetd or xinetd for Android SDK
> applications, if you are thinking of something like those Linux
> daemons.
> ...
> For some definition of "manually", yes. The service will need to be
> running to serve data over your port.

I could create a service with a notification icon (like SeePU or all the
task managers) to let the user know there is a service running, letting
him en/dis-able and configure it, right?

This way the user would be sure the service is running.

> Bear in mind that there is probably a better solution for whatever
> business problem you are trying to solve with a localhost-only TCP
> server.

I know, but I would like to implement a fake webservice, that would
return local data to some applications without needing an Internet
connection.

The target application already has a configurable webservice URL (but
can't access local services or providers), so I can just type
http://127.0.0.1:1234 and let it access local cached data.

Thanks again for your help.

Bye.


-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to