android - How can I detect if user selected from createChooser options? -


I have a code that asks the user to send messages by selecting the desired application, how can I find out Is the user really selected from the option or pressed back in return?

I have tried whether something returned to the intention, but asynchronous is going on, so can not be tracked.

In addition, I have tried to run the intent with startActivityForResult , which I have seen on the activative result resulted in always 0 ( RESULT_CANCELED ) even if Choose the user, or not the selector.

From the source of Android, you can see that the activity that is selected between the intents is not exactly set ) absolutely. It should be requested as a feature.


Comments