yeah, you guys might be right unfortunately, you could request the location
object of the user and see if the phone has compass attributes, but that
would involve the dialog to get the permission. are the DOM storage
limitations the same on all devices?

not being able to tell the underlying hardware platform is quite common with
laptop browsers, you can't tell the processor somebody is using or the
thinkpad version number. for phones however it is common to be able to
determine what kind of phone it is and that is good since you might give
different content based on the phones capabilities. that doesn't really
apply yet for the iphone family, they all have same browser capabilities it
seems. only if your webapp relies on compass you would need to go trough the
process of getting the location first before being able to see if the phone
is compatible sub optimal but not terrible.

i simply want to show the users of percentmobile.com (i am co-founder) more
detailed apple stats beyond the mere OS version number. like how many people
come to a site with an actual 3GS device.

if you still come up with something please let me know,
stan

On Mon, Jul 27, 2009 at 7:06 PM, Sean Gilligan <[email protected]> wrote:

>
> I'm pretty sure Max is right.  It's always easier to show how something
> can be done than to prove it can't.  There may be some clever hack for
> revealing the information, but given the lack of response, I would guess
> no one on this list has one.
>
> -- Sean
>
> Max Melcher wrote:
> > hey stan,
> >
> > i think you cant determine the hardware version - first i thought the
> > information is encoded in the useragent string but thats only
> > safari/iphone os related.
> > Then i thought you could do it with the presence of dom storage or
> > location api - but i think the iphone classic can do it, too.
> >
> > cheers
> > Max
> >
>
> >
>


-- 
"Local color. Soak it up"
Virginia Vidaura

http://www.merkwelt.com/people/stan/

please overlook typos

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" 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/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to