:sign0163: is there a way to tell which activities are still active?
Mi app fails to close/end properly.
I have read the files on activity life, but fail to understand if after an activity.finish, is the activity really dead?
here is the program flow of how the app is starts:
act1 - start services, start act 2, activity.finish
act 2 - load Globals, talk with service, start Menu, activity.finish
from Menu Activity, user may start 4 other activities..
one of these activities is a file reader, called reader_b.
the One thing common in each of these 4 activities are: under activity_pause, I have:
StartActivity("menu")
activity.finish
and in Menu, under activity pause, I have:
activity.finish
exitapplication
each time I go to exit the application, I am getting same error:
Error occured in sub:reader_b_globals....object should first be initialized (map)
BUT, I have already EXITED this reader_b activity with the activity.finish command!
I have tried removing exitapplication, using only exitapplication, but I am unable to to figure out why it works not.
Any help would be greatly appreciated!
...Pablo
Mi app fails to close/end properly.
I have read the files on activity life, but fail to understand if after an activity.finish, is the activity really dead?
here is the program flow of how the app is starts:
act1 - start services, start act 2, activity.finish
act 2 - load Globals, talk with service, start Menu, activity.finish
from Menu Activity, user may start 4 other activities..
one of these activities is a file reader, called reader_b.
the One thing common in each of these 4 activities are: under activity_pause, I have:
StartActivity("menu")
activity.finish
and in Menu, under activity pause, I have:
activity.finish
exitapplication
each time I go to exit the application, I am getting same error:
Error occured in sub:reader_b_globals....object should first be initialized (map)
BUT, I have already EXITED this reader_b activity with the activity.finish command!
I have tried removing exitapplication, using only exitapplication, but I am unable to to figure out why it works not.
Any help would be greatly appreciated!
...Pablo