Multiple paths on a single domain
suggest changeAndroidManifest.xml:
<activity android:name="com.example.MainActivity" >
<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="www.example.com" />
<data android:path="/" />
<data android:path="/about" />
<data android:path="/map" />
</intent-filter>
</activity>
This will launch your MainActivity
when the user clicks any of these links:
http://www.example.com/
http://www.example.com/about
http://www.example.com/map
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents