Reputation: 11837
I have made a web browser app, but I am unsure of how I would make it able to open links. For example, if the user receives an email with a link in it, they get the option to open the link in my app, and set the app as default if they want to. How would I go about doing this?
Upvotes: 1
Views: 490
Reputation: 909
You need to register intent filter scheme "http"
http://developer.android.com/guide/topics/manifest/data-element.html
Here is an example
http://androidsmith.com/2011/07/launching-an-android-application-from-a-url/
Upvotes: 2