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. Low Memory: No more background

Hi,

I am working on openGles with seven images displayed on the screen. I
am translating the position of these seven images on a button click
so
it is drawing every time it seems.
But, after sometime all the images are getting disappeared then I've
checked in the logcat
I found this :ActivityManager(52): Low Memory: No more background
processes.

I heard animating bitmaps via OpenGL may give similar problems.

Any suggestions would be appreciated.


Thanks,
Bala



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

2. Andriod Development

Hi All,

i am very new to android development. i have one question in my mind

1. Which is better approach programming android. i mean using main.xml
or coding?

Please help me on this

Thanks,
Giridaran


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

3. Launch Activity

4. book page animation

5. java.net.UnknownHostException

6. How to draw directly on screen without calling invalidate?

7. how to add app to apps list