[android-developers] problem: two instances of the app are running- only on start up

2012-01-20 Thread SVRP VARMA
Hi,

I am using a Tegra tablet for my tablet running Android 2.2.

I am facing a strange issue. Two instances of the app are running when
I configure the app to run on-boot. I've the flags as below.

intent2.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK |
Intent.FLAG_ACTIVITY_CLEAR_TOP| Intent.FLAG_ACTIVITY_SINGLE_TOP );

Still I am facing the issue. I am refering this as strange because if
I don't run the app at startup there is no problem. The app runs
normal when it is run manually.

Can anybody help please?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] problem: two instances of the app are running- only on start up

2012-01-20 Thread TreKing
On Thu, Jan 19, 2012 at 7:20 AM, SVRP VARMA svrpva...@gmail.com wrote:

 I am facing a strange issue. Two instances of the app are running when I
 configure the app to run on-boot.


How are you determining that there are two instances running?

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en