Exposing that your app is installed to the android browser
<p>I am trying to find a way to detect in the android browser whether my application has been installed.</p>

<p>Use case:
I have a web page that a user can reach via their android web browser.  If the application is installed it would show "Tips &amp; tricks".  If it is not installed, it would show promotional material and a link to download the app.</p>

<p>Attempted solution:
My initial thoughts have been to associate my application with a custom mime type using  the apps manifest and in the web page iterate javascript's mimeTypes array.  I figured if the mime type showed up in the array, I could assume that the application was installed.</p>

<p>Unfortunately, the mimeTypes array doesn't ever change.</p>

<p>Any ideas how I could determine if my application is installed when the user accesses my web page via the android browser?</p>

<p>Thanks for any help / insight you might have.</p>
