On Tue, Jun 19, 2012 at 10:33 AM, Jesse Nave <[email protected]> wrote:
> Sorry if this is a rehash, but I cannot find a previous post on this topic.
>  I have a website that I want to open exclusively with my app.  I would like
> to redirect all other traffic to Google Play, inviting them to purchase the
> app.  Can this be done, or am I completely missing something?

The Internet is a public resource. If your Web site is on the
Internet, anyone can request a Web page, at any time, from any type of
hardware, mobile or otherwise.

>  I don't want
> to detect mobile devices

You act as though you have a choice in the matter. The only way to
determine if an Android device is requesting your Web page is to
examine the User-Agent header, see if it says that it is an Android
device, and then hope nobody is spoofing the header.

-- 
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

Reply via email to