How handle page not found error in android?
- by Akshata
I am calling one android application from java script using following code:
window.location.href="android3://com.android.application3";
In androidManifest file of Application I use intent filter as follow
<data android:scheme="android3" android:host="com.android.application3"/>
If the application is already installed then it is running well, but if it not installed then it is showing error that page android3://com.android.application3 is not found.
I want to catch that error and want to show error message.
How I can check that the application is not instilled on mobile??