Framework support for detecting starting and stopping of activities

by Dianne Hackborn » Thu, 14 May 2009 05:53:52 GMT


Sponsored Links
 I believe the class is UsageStatsService.  "adb shell dumpsys usagestats"
will dump its current data.








-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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



Framework support for detecting starting and stopping of activities

by Dianne Hackborn » Thu, 21 May 2009 06:03:20 GMT


  don't think we want an API for this for applications.

On Wed, May 20, 2009 at 11:28 AM, clemsongrad <dpotl...@gmail.com> wrote:



--
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails. All such
questions should be posted on public forums, where I and others can see and
answer them.

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


Sponsored Links


Other Threads

1. Maximum .apk file size to be uploaded to the gPhone

Are you sure you haven't run out of space on your phone?

Just how big an app are we talking here? If you are pushing into double
digits then you should probably trim it down a fair bit anyway.. maybe start
by compressing the audio data and reducing the resolution of the images?





Hi
I wana ask about, what is the maximum .apk file size to be uploaded on
the gphone.............. While i was developing an application, using
sounds and images the application crashes due to memory overflow. or
some times it not even released on the emulator with the error message
"no sufficient size".. Have u any idea about this problem


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

2. How does prelink-linux-arm.map work?

Hi,

I got some diopen() fails in my native library. I guess the reason is
insufficient memory. I conduct some experiments by exhausting the memory and
then dynamically load some .so files. Yes, dlopen() failed again. At first I
thought the .so files listed in prelink-linux-arm.map are libraries
pre-loaded into memory, and dlopen won't fail if the target is in the map.
However, that's not true. Anybody here knows what's the use of the map? Or
where did I go wrong? Thanks.

Hsiung

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

3. Hot to create a mutable Bitmap from the Camera, draw another Bitmap on top, and save it

4. create an image "on the fly" and assign it to a button

5. Some of the strange JAVA syntax - android specifics?

6. How to compensate for gravity when using the accelerometer?

7. Global touch events listener