Android OS Forum banner
1 - 3 of 3 Posts

·
Premium Member
Joined
·
768 Posts
Discussion Starter · #1 ·
As the title suggests, I am looking to find out if in stock Android (and its apis) there is a way to either take a screenshot of each running application or have an updated stream from each application.

Basically the reason behind this is for a card style multitasking interface built into the notification shade (something planned for my rom), and I was wondering if there was a built in API for something like this.

If not, I have probably 2 options: use the screenshot feature (in Cyanogen roms) to take a screenshot of each running app, then resize it and maybe cache it (I don't personally wish to do this, it would have horrible lag and clog up the IO) or build an interface in the system to allow a live feed (sounds tricky and possibly out of my league).

Does anyone have any ideas on this? If worst comes to worst I can use app icons similar to how the recent apps dialog does it, but it's just not the same.

Sent from my Nexus S using RootzWiki Forums
 

·
Premium Member
Joined
·
1,768 Posts
Its almost like the android gods on top of Google mountain (ahem @jbq and his crew) read this post and declared YES WE SHALL invent new APIs!!!

Sent from my Galaxy Nexus (with for mentioned feature) using that apk
 

·
Android Beginner
Joined
·
6 Posts
As the title suggests, I am looking to find out if in stock Android (and its apis) there is a way to either take a screenshot of each running application or have an updated stream from each application.

Basically the reason behind this is for a card style multitasking interface built into the notification shade (something planned for my rom), and I was wondering if there was a built in API for something like this.

If not, I have probably 2 options: use the screenshot feature (in Cyanogen roms) to take a screenshot of each running app, then resize it and maybe cache it (I don't personally wish to do this, it would have horrible lag and clog up the IO) or build an interface in the system to allow a live feed (sounds tricky and possibly out of my league).

Does anyone have any ideas on this? If worst comes to worst I can use app icons similar to how the recent apps dialog does it, but it's just not the same.

Sent from my Nexus S using RootzWiki Forums
For the api to access activities: http://developer.android.com/reference/android/app/ActivityManager.html
Please be aware that Android's state concept does not know such a thing as running apps. You may want to check activity states and services and see if the concepts you have in mind match
 
1 - 3 of 3 Posts
Top