end application notification

by ayanir » Thu, 15 Oct 2009 00:03:56 GMT

Sponsored Links

I have an application with several Activities.
I understand that the Android platform handle some sort of an Activity
Stack so there is the option to go back to the previous Activities in
the stack. I also know that there is no access to this Stack.
I would like to know if there is a way to check if all my application
Activities are finished (not in the Stack). in other words, if I'm in
my first Activity and press the Back key or alternatively call
Activity.finish(), I would like to get a notification that all my
Application Activities are finished so I can control my application

Thanks in advance,

Other Threads

1. problem with porting mediaplayer to real board

Hi dear all

I don't know whether here is the proper place to post the message, 
 After I have change opencore ( mydroid/external/opencore, this is the lower 
layer  relevant to media player) using mEmulation=true ( android/ 
android_surface_output.cpp) in order to use software codec;  and copied the 
relevant lib to system/lib, my hardware board cannot successfully boot. 
and I found the libs render the problem are libandroid_services and libmedia*
here is the print, anyone could give me any clue?

android_power: wakeup (0->0) at 31319546575 (1970-01-01 00:00:31.319554395 UTC)
android_power: wakeup (0->0) at 49765869810 (1970-01-01 00:00:49.765874772 UTC)
android_power: wakeup (0->0) at 67881147696 (1970-01-01 00:01:07.881152358 UTC)
android_power: wakeup (0->0) at 86564803262 (1970-01-01 00:01:26.564808337 UTC)
android_power: wakeup (0->0) at 105151896836 (1970-01-01 00:01:45.151902551 UTC)
android_power: wakeup (0->0) at 123721148756 (1970-01-01 00:02:03.721156237 UTC)
android_power: wakeup (0->0) at 141840563717 (1970-01-01 00:02:21.840571085 UTC)
android_power: wakeup (0->0) at 160263557478 (1970-01-01 00:02:40.263562703 UTC)
android_power: wakeup (0->0) at 178231158192 (1970-01-01 00:02:58.231164658 UTC)
unsubscribe: android-porting+unsubscr...@googlegroups.com

2. Old changelogs?

I have a piece of code that I *think* is SDK release m5 and I want to port
it to 1.x.  So I need to know what changes were made between them, like
functions names, etc.  Where is that document?

The link I found (code.google.com/*android*/migrating/m5-0.9/*changes*
-overview.html ) takes me to the 1.1 site and the "Previous SDK Releases"
take me to the download page for SDK 1.1.

I swear I saw the document this weekend but I can't find it now. Why am I
reminded of Russian photographs from the Cold war era? ;-)


Faber Fedor
Linux New Jersey


3. keep printing android_power:wakeup and the machine can't boot

4. Launching a dialog from preferences?

5. @@@.....HotMasal......@@@

6. SimpleCursorAdapter and OnListItemClick - Simple question

7. cannot start oprofile in android