I want my app to be opened on only one url that is in the form
http://www.myhost.com/#/followThis/Param1/Param2
this is my intent
<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:host="myhost.com" android:scheme="http" android:path="/#/followthis" />
<data android:host="www.myhost.com" android:scheme="http" android:path="/#/followthis" />
</intent-filter>
now if i replace # with any letter say 'a' it works fine any way i can get this???
try with:
String query = URLEncoder.encode("apples oranges", "utf-8");
String url = "http://stackoverflow.com/search?q=" + query;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With