On Fri, Jan 14, 2011 at 3:37 PM, ls02 <[email protected]> wrote: > User may land on my Web page in external Web browser in which case I have > no control to inject any code from the app. >
Correct. Which is why this is where you display the generic market URL, even if they're on their phones and have you app installed (which you can't know, as we've established). > Say you have a Web page that uses Flash. Do you want to mesage to > your customers link to install Flash EVERY SINGLE TIME they visit your > page instead of trying to dynamically discover if Flash is installed > and directing customers to install Flash ONLY if it is not installed? > Sounds trivial. > It is trivial - if the application you're are trying to detect runs in the same environment in which the user is running. In your example the Flash app runs in the browser, which is where the Flash plug-in will be. In Android it's fairly trivial to detect if another app is installed. However, trying to dynamically discover what may or may not be running in a completely different, unrelated environment without any "hooks" on both ends is not so trivial. ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices -- 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

