how to reuse existing activity?

by AndroidGuy » Sat, 22 Aug 2009 02:14:39 GMT

Sponsored Links
 If my current activity stack is A->B->C, I want it to be like A->B->C-

I tried several approaches, but couldn't get what I want.

1. Before calling startActivity, set intent flag as
Intent.FLAG_ACTIVITY_REORDER_TO_FRONT, which makes the stack like B->C-

2. Trying activity A's launch mode as  "singleTask" or
"singleInstance", still couldn't get expected stack.

It looks like the activity stack per task cannot have duplicate one.

Any solutions will be appreciated.



Other Threads

1. Minta tutorial nge root htc magic bwt nubie dongmaster.

Loh kok casenya seperti Vony, kayaknya sehati nih dikau

Memang masih gunakan rom official & belum diroot bro ?

On Oct 13, 2009 5:56 PM, "Rendra A. Trisaksono" <>

Buat Hero ada ya Oom, Tethering ane gak jalan. Huehuehue... Diapakan ini?


Sent from my Android/BlackBerry?
*From: * "s...@bold" <>
*Date: *Tue, 13 Oct 2009 09:17:20 +0000

To: <> Subject: [id-android] Re: Minta tutorial
nge root htc magic bwt n...

Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to

To request to subscribe to this group, please visit the following page:

2. How to display List in homescreen app widget ?


I can't find how to display a list in the app widget.

I have created one app-widget which fetches the database table
information and I want to display all the icon:text into app-widget.
Remoteviews doesn't have any list functionality.

How can I do it, please help


3. ListView - duplicate onScroll events

4. donuts supports screens issue

5. How to hide views within a layout

6. Custom Object Serialization in Android?

7. scheme compiler for android