Intercepting links from the browser to open my Android app

Use an android.intent.action.VIEW of category android.intent.category.BROWSABLE. From Romain Guy’s Photostream app’s AndroidManifest.xml, <activity android:name=”.PhotostreamActivity” android:label=”@string/application_name”> <!– … –> <intent-filter> <action android:name=”android.intent.action.VIEW” /> <category android:name=”android.intent.category.DEFAULT” /> <category android:name=”android.intent.category.BROWSABLE” /> <data android:scheme=”http” android:host=”flickr.com” android:pathPrefix=”/photos/” /> <data android:scheme=”http” android:host=”www.flickr.com” android:pathPrefix=”/photos/” /> </intent-filter> </activity> Once inside you’re in the activity, you need to look for the action, and then … Read more