Question about background task applications?

by Tom » Thu, 21 Jan 2010 20:03:07 GMT

Sponsored Links
 Is it possible to developp an application which :
- run in background (I know that it's possible with Services)
- is impossible to close or to stop ?

Best Regards

Question about background task applications?

by Mark Murphy » Fri, 22 Jan 2010 00:20:52 GMT

 > Is it possible to developp an application which :

No. Users can always stop background services using the Settings application.

Mark Murphy (a Commons Guy) 
Android App Developer Books: 

Sponsored Links

Other Threads

1. Crash when playing a song using mediaplayer


I am working on a project where I have sound effects and two songs.
When I make the transition from one sound to another and spamming
touch the application crashes. It seems to be crashing somewhere in
the mediaplayer.release(), it doesn't return from here. Every time I
start a new sound I make release on the previously played sound and
call create on the MediaPlayer again. Have you encountered something

Thank you.


2. How to count the number of launches of my app?

Hi all,

What I want to do is to log whenever user launches my app. So, I
instrumented a logging code(which make a request to the server) into
onCreate() of the base activity, and the server counts the requests.

However, the problem is that the code wasn't called if user press home
key rather than back key.

More specifically,
launch the app -> onCreate() is called -> press home key -> relaunch
the app
=> onCreate() is NOT called.

Is there anyone who know where I need to add my logging code?



3. help in getting python working

4. MIN_MATCH Handling For retrieving Caller ID from Contacts Database

5. Job Market Android

6. Sony Ericsson LiveView鈩?micro display SDK is released

7. android.intent.action.SEARCH blocks android.intent.category.LAUNCHER