0

If I launch an Intent via activity.startActivity(intent) and there are multiple apps which can handle the Intent, you get a dialog along the lines of "Complete action using:" followed by the list of apps.

How can I detect if they cancel this dialog (e.g. via the back button) back to the app, rather than select an option?

4

1 に答える 1

0

独自の選択ダイアログを作成しない限り、できません ( および のデータを使用PackageManager) queryIntentActivities()

于 2013-01-23T15:56:33.523 に答える