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 removing from listView

i have a List<String declared like this:
private static List<String> Name = new ArrayList<String>();
private static List<String> Number = new ArrayList<String>();
private static List<String> Address = new ArrayList<String>();
private static List<String> Email = new ArrayList<String>();

and i'm trying to loop threw and delete them when a user longclicks on
them and clicks delete
here's the delete code:

public void deleteName(long id){
                String name = Name.get((int)id);
                for (int i = 0; i < Name.size();i++) {
                        if (Name.get(i)== name){

however, it only deletes the entry you click on, not all entries, i've
done some log outputting and the Entries all look the same to my eye,
even capilization.

What am i doing wrong?

Kevin A


2. hai.......

how to display in message in large type text??


3. The connection to adb is down

4. Specs say High Resolution Application Icon has alpha, it doesn't

5. Android market (High res) icon

6. ADT 8 doesn't include ADB??

7. Booting Android