mardi 4 août 2015

Is it possible to remove a particular app in chooser while opening a URL?

My own app contains an intent filter which accepts a URL of "https:www.xyz.com"

While opening a particular URL from my own app, for example "https:www.xyz.com/signup", it gives an option of my app also in chooser, but for this particular URL, I want to open it in browser only.

Please suggest me a proper way exclude my own app from default chooser list of android.

Intent browserIntent = new Intent(Intent.ACTION_VIEW,Uri.parse("https:www.xyz.com/signup"));
                    startActivity(Intent.createChooser(browserIntent, "Open with"));



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire