Right, so if someone wanted to stop web responses going to android
apps, they can, without it affecting their usual service?

Thanks.

On Jan 12, 10:28 am, Adrian Vintu <adrianvi...@gmail.com> wrote:
> Sure. You have to use the user agent.
>
> You have something like
>
> Mozilla/5.0 (Linux; U; Android 1.5; en-us; Galaxy Build/CUPCAKE)
> AppleWebKit/528.5+ (KHTML, like Gecko) Version/3.1.2 Mobile Safari/525.20.1
>
> for Android
>
> and something like
>
> Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102
> Firefox/3.5.5 (.NET CLR 3.5.30729)
>
> from the normal Firefox browser.
>
> BR,
> Adrian Vintu
>
> On Tue, Jan 12, 2010 at 11:21 AM, Neilz <neilhorn...@googlemail.com> wrote:
> > Hi all.
>
> > Could a standard web server identify an HTTP request as coming from a
> > normal browser, as opposed to an Android application?
>
> > What could be different about the request that would enable the server
> > to differentiate between the two, and modify the response accordingly?
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
>
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to