When I use custom scheme (for example myhttp) everything works as I expected, but if I use http , it does not handle, and every time browser opens the host (eg:192.168.1.111).
How can I solve this problem?
my manifest.xml
<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"/>
<data android:host="192.168.1.111"/>
</intent-filter>
my activity:
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
final Intent intent = getIntent();
Log.i("MyTAG", "here--01");
}
