Activity1 shows a list of items.
Activity2 displays information about the selected item.
Activity2 CallSubDelayed(Activity3) for selecting Google contacts receiving a snapshot of Activity2.
Activity3 returns to Activity2 the list of selected contact; CallSubDelayed2(Activity2,,the_list)
Activity2 sends mail(s) using Google mail service.
in Activity2 if HttpJob is Success then ToastMessageShow("Message sent successfully").
All right.
The problem; Google mail may require a ~3 second delay, if the user has KEYCODE_BACK before this delay, Activity2 (the user want to leave) pops up again.
How to avoid this behavior?
Activity2 displays information about the selected item.
Activity2 CallSubDelayed(Activity3) for selecting Google contacts receiving a snapshot of Activity2.
Activity3 returns to Activity2 the list of selected contact; CallSubDelayed2(Activity2,,the_list)
Activity2 sends mail(s) using Google mail service.
in Activity2 if HttpJob is Success then ToastMessageShow("Message sent successfully").
All right.
The problem; Google mail may require a ~3 second delay, if the user has KEYCODE_BACK before this delay, Activity2 (the user want to leave) pops up again.
How to avoid this behavior?