On Thu, Jul 28, 2011 at 7:20 PM, Tom Fairfield <[email protected]> wrote: > From a webpage I need to try several different custom urls: > > foo://bar.baz > bar://bar.baz > baz://bar.baz
Please do not invent custom schemes. Please use http:// URLs that your native applications respond to. > Each of these has an intent filter registered by a native app. Zero or more > of these native apps may be installed. > > I want to try each url in order and, when the first url is handled by a > native app, stop trying any further. > > Is there a way to determine that a native app has launched? Not that I'm aware of, but I am not an expert in JS/DOM events. Note that the user will probably be presented with error dialogs for all your failures, which will tend to disrupt the user experience. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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

