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

by Dianne Hackborn » Wed, 21 Apr 2010 11:26:25 GMT

Sponsored Links
 Make sure you aren't calling startActivity() anywhere, such as in

Look at the log (adb logcat) and event log (adb logcat -b events) to see
what the system is saying about launching and handling activities.

Please don't use singleTask or singleInstance to fix such problems, they are
not needed and have other repercussions you probably don't want.

> >

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

by Dianne Hackborn » Wed, 21 Apr 2010 13:07:44 GMT

 Starting a service doesn't have anything to do with the activity stack.  It
is only needed if you actually must have a service running even after the
user leaves your app.  (And of course you must have a good plan for how you
will stop the service, so it doesn't get left running forever.)

> > > >

Sponsored Links

Other Threads

1. OOT:alternatif IPad

moga2 tidak repost,,
ada yang mau siap2 nabung mulai sekarang?
*tidur lagi ahhh*

"Indonesian Android Community [id-android]" 

2. permission denied on devce

Hello guys, I have developed and tested my app on the emulator, and now want to 
install it on my HTC device.
the apk installs successfully, however my database is not going with it.
I have created my database using sqliteman browser b/c I have to insert a bulk 
data before the app starts.
I have four tables in my db and call each in different activities and created 
all on the sqliteman. after the data is inserted I pull back the db onto the 
data folder of the emulator.
it works perfect on the emulator but failed on the device.
when I try to pull my db on the real device, it shows access denied problem
Please can anyone help me out?
it is very urgent



3. SMSan di Android?

4. aPad/iRobot 2nd generatio

5. ask : download manager yang bagus

6. Help : Gmail amplop merah gak bisa save attachment

7. Can a full app (not widget) be postage stamp size?