Find your content:

Search form

You are here

App not listed in launcher due to <data android:scheme=“http” /> in AndroidManifest.xml

 
Share

Due to the intent-filter matching algorithm, when Android "shows the applications" in the launcher, it shows the list using matching mechanism, and when you add you app doesn't match, because the system doesn't bring any data when it displays the launcher.

The solution is add another intent-filter.

 <intent-filter>
   <action android:name="android.intent.action.MAIN" />
   <category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
   <action android:name="android.intent.action.VIEW" />
   <category android:name="android.intent.category.DEFAULT" />
   <data android:scheme="myapp" android:host="myhost"  android:pathPrefix="/help"/>
</intent-filter>

My Block Status

My Block Content