An intent filter in my app handles a certain MIME type to start the application from the browser with certain arguments. I have this working perfectly.
Currently I have a Javascript confirm that pops up to ask the user whether the app is installed. The OK button runs the app by launching with an intent. The Cancel action sends the user to the APK file to download. Both work just fine. I would like to get rid of the Javascript confirm and automatically detect whether my app is installed. I was hoping I could instantiate the package manager, or something like it, in Javascript so that I could check if my app is installed. This doesn't seem possible. Alternatively, I was hoping the installation of my app could alter the browser's user agent string to indicate that my app is installed. If seen several Firefox add-ons that do this. This doesn't seem possible either. I don't want to start my own WebView or anything. I want it to be launchable through anywhere in android. Any ideas? I found a similar question here, but it got no response: http://groups.google.com/group/android-developers/browse_thread/thread/9c7435e18c0881c6/ccd0bb96a428a731?lnk=gst&q=browser+javascript+check+app+installed#ccd0bb96a428a731 -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

