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. SMS problem

Hi,
Can anybody help me that how could I control an SMS from Sender's
perspective ... i.e. we can handle an SMS from Receiver's perspective
but not Sender's perspective.

Best Regards,
Haseeb

--~--~---------~--~----~------------~-------~--~----~

2. Difference between Emulator and Real phone

Hi All,

Can anyone list me the limitation of Emulator over the real phone with
andriod development?
So i can aware of what we can achieve with emulator.

Thanks,
Parani

--~--~---------~--~----~------------~-------~--~----~

3. maintain a socket connection between different activities

4. How to make image clickable?

5. How install (load/program) the android firmware onto a E2831 phone

6. Chronometer + Eclipse = NullPointerException in layout view

7. Downloading Android apps