Android - matching a url pattern?
问题 I'd like one of my activities to pick up a particular url. The pattern is: http://www.example.com/abc123/foo/xyz789 The path components "abc123" and "xyz789" can be any sequence of alpha-numerics, length > 1. Doing this in my manifest: <activity> <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="example.com"