Screenshot of background apps current state

by Breezy » Thu, 28 Jan 2010 11:49:38 GMT

Sponsored Links
 Okay, I can obtain a list of apps running in the background...  like a
task manager.  But now I want to take a screen shot of the app and
what state it's currently in.  Is this possible?

For example, I want to display a screenshot of an email if gmail is
opened in the background and has an email open.  Is this possible?


Other Threads

1. avoiding Activity stack overflow...

I have the following situation.  I have a task with the following
activity stack --
A - B - C

I have a menu item that allows me to start activity D; so my activity
stack looks like this --
A - B - C - D

Then I could select a menu item that allows me to start an activity C,
which would cause my activity stack to look like this:
A - B - C - D - C

Then I could go back (via the menu item) to activity D, making my
activity stack look like this:
A - B - C - D - C - D

Doing this a few more times, it would wind up looking like this --
A - B - C - D - C - D - C - D - C - D - C - D - C - D - C - D - C - D
- C - D - C - D

This seems kinda stupid to me.  I'd like it to simply re-use an
activity, or pop the activity below to be on top (which goes against
the nature of a "stack").

So, what I mean is if I had this activity stack:
A - B - C - D

And I started activity C (from the menu), I would get:
A - B - D - C

And if I then started activity D (from the menu), I would get:
A - B - C - D

Is there a way to do this without keeping some global list of
activities and doing gross things to them to reorder them?


2. Starting an Activity (with the dialog theme) from the onCreate() of another Activity results in a black screen.

I've had this problem in a few different apps now and I can't seem to
find a solution.

If, in the onCreate() of an Activity, I start a new activity that uses
the dialog theme (via android:theme="@android:style/Theme.Dialog" in
the manifest) it doesn't draw anything to screen... the whole screen
stays black. All the views are there (e.g., I can tap where an
EditText should be and it'll give me the keyboard), they're just not

Anyone have any ideas?

3. Displaying a panoramic image

4. wifi and browse

5. Unable to write text file to sdcard on physical G1 device

6. Why does media scanner not list the audio file suffixed with ".aac".

7. HTTP Connections?