How handle page not found error in android?

Posted by Akshata on Stack Overflow See other posts from Stack Overflow or by Akshata
Published on 2010-05-20T03:42:53Z Indexed on 2010/05/20 3:50 UTC
Read the original article Hit count: 240

Filed under:

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??

© Stack Overflow or respective owner

Related posts about android