• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Lifecycle on long running processes

brtancs

Lurker
Hi,

I'm wanting to push various binary data to applications I have running on Android 1.6 devices. I'm considering a combination of SMS messages and running either a service listening on a socket or a web server on the phone.

I'm curious though; at what point the running web server or service (the minimal execution scenario is just waiting on a socket) would be stopped by the OS automatically, if ever.

Also, if the server is stopped automatically - can the user be notified and/or given a choice on whether to proceed with stopping the app; or is there a way to except a process from automatic cleanup? From the docs, I'm guessing no here.

thanks.
 
Back
Top Bottom