On Android, you don't need to -- you use an HTTP URL, which is intercepted by the app if it exists. The page itself is served if not, which is a download page. I don't know (don't think?) you can do this on iOS.
I don't know of a way to query installed apps from the browser on either.
On Monday, August 6, 2012 7:52:45 PM UTC+1, kolys wrote:
I'm trying to use a button in a mobile webapp to invoke the Barcode Scanner app (if installed) or redirect to the download page (if not).
The first is now working flawlessly on both iOS and Android, simply using the zxing:// URL scheme. However, I can't find a way to detect and act on a lack of support for that URL Scheme.
Any and all help would be greatly appreciated.