Hi guys, I built a very simple app include a activity and a service, the service started by call StartService, the Activity used to interactive with user.
Now, user can exit the app by click the EXIT button on the activity, and app will show a msgbox let user confirm their action, like "do you realy want to exit?".
question is msgbox will not be modal and will return immediately, am I miss something?
your suggestion is what I'm doing now, show up a msgbox and get user's choice. Problem is msgbox will return immediately with DialogResponse.CANCEL without waiting for user's response.
I notice that when service not start, msgbox will be modal and behave right.