Intent to bring up top-most activity in task?

by westmeadboy » Sat, 27 Mar 2010 07:30:55 GMT


Sponsored Links
 If my app is already running, then either Activity1 or Activity2 might
be currently on top.

How to construct an Intent so that it will simply show whichever
Activity is already on top (in the task)? Just like if you touch an
icon in the Recent list (long-press home).

At the moment, it looks like (for explicit Intents) you need to be
explicit about the Activity to launch. But I would rather be explicit
about the app (package name).

FWIW, I'm thinking of Intents triggered via Notifications.

--



Other Threads

1. Permission problem while attempting to access privileged Phone object



I don't think this is a kernel issue at all, as userspace is in charge of
managing the permissions for various objects like this.

I would suggest asking on one of the userspace mailing lists instead.

good luck,

greg k-h

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: 

2. hiding the title bar

i'd like to hide the title bar, but it seems that the sample code --

requestWindowFeature (Window.FEATURE_NO_TITLE);

-- doesn't do anything. is there a way that works?

thanks,
j

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

3. Problem about android SDK 1.0 porting on IMX31 board (No pending application record for pid 0)

4. loading html file from SDCARD in web browser

5. Ringtone Picker Silent Option Selection

6. Can I monitor incoming MMS ?

7. CallFromWrongThread Exception