How to solve the problem of launch the apps twice or more?

by Mark Murphy » Wed, 21 Apr 2010 18:49:53 GMT


Sponsored Links
 


Please don't do that.

First, it's not possible:

 http://www.androidguys.com/2009/09/09/diamonds-are-forever-services-are-not/ 

Second, it's a bad idea to even try:

 http://www.androidguys.com/2010/03/29/code-pollution-background-control/ 


What is "it"?

Services are natural singletons -- there is exactly 0 or 1 copy of the
service running at any point. The goal is for there to be 0 copies of
the service running unless it is actively delivering user-perceived value.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://twitter.com/commonsguy 

_Beginning Android 2_ from Apress Now Available!

--



Other Threads

1. htc g1 usb internet reverse tethering

hi,

usually we use usb tethering to let the mobile share internet access
with computer. but at my office, we do not have wifi, we only have
wired lan. so i wonder if i can connect my g1 to my computer using
usb, and let my g1 share the internet access?


-- 
Best Regards,
David Shen

http://twitter.com/davidshen84/
http://meme.yahoo.com/davidshen84/

--

2. Is android available for SE P1i?

is there any community that is developing android for existing mobile
phones. i know about android for htc phones but is there anyone who is
working on sony ercisson phones like P1i? i have a P1i and i would
desparately want to have android on my phone.
kindly help.

--

3. Activity - calling finish() in onStart()/onCreate()

4. Not sure why my app installs twice (I see two identical ICON's).

5. BitmapFactory OOM driving me nuts

6. glgetfloatv

7. how to intergrate a graphic card driver to Android Kernel