Esato Mobile
Sony Ericsson / Sony : GPRS, WAP, MMS and Email setup : Can I identify if a mobile has an color display ??
> New Topic
> Reply
< Esato Forum Index > Sony Ericsson / Sony > GPRS, WAP, MMS and Email setup > Can I identify if a mobile has an color display ?? Bookmark topic
ovisopa Posts: 6

Hello ppl ,

I have a question for ya, I develop a wap site and now I'm wondering if I can see if a mobile which has visited my site has a color display or not. .. so is any header with this information ??? I was thinking at something but this is not a precise information : if a mobile suports jpg format I'm sure it has color display... but I belive not all color mobiles suports jpg image format , I'm wright ??

waiting for some reply's

10x in advance

see ya all
--
Posted: 2003-08-01 01:17:44
Edit : Quote

ruff rider Posts: 203

If you detect the browser details, you should be able to work out the phone being used, and from there, determine whether or not the phone has a colour screen, right? I'm no expert so I hope this helps! This message was posted from a Nokia
--
Posted: 2003-08-01 01:43:53
Edit : Quote

ovisopa Posts: 6

This is to complicated because are thousents of phones and every month I see new phones model ... and I should insert in the databse every model of every manufacturer.. this is not a solution to my problem but 10x anyway

see ya
--
Posted: 2003-08-01 02:00:56
Edit : Quote

dean Posts: 87

@ovisopa:

if someone access your WAP page, make your program save this HTTP HEADER:

HTTP_PROFILE

It contains a link to XML file with full specifications of the mobile device (screen/height/width etc)... For example

T68i (R8A):
HTTP_PROFILE:http://wap.sonyericsson.com/UAprof/T68R502.xml

T610 (R1L):
HTTP_PROFILE:http://wap.sonyericsson.com/UAprof/T610R101.xml

NOKIA 6100:
HTTP_PROFILE:http://nds.nokia.com/uaprof/N6100r100.xml

Open these .XML pages and take a look. If you can retrieve them during the HEADERS exchange, you may decide what to do further.

Hope this helped a bit.

Dean

--
Posted: 2003-08-04 16:23:23
Edit : Quote

ovisopa Posts: 6

I saw the xml pages and I think this is the only way to do what I want.On that page is a field :

Yes

I think it's identical to all mobile phones ( ) I checked for nokia an ericsson and it's ok.

10x for help

see ya all
--
Posted: 2003-08-04 22:38:17
Edit : Quote

khagol Posts: 1

Hi there,
Please try this. The code is in ASP/VBScript
<%

If InStr(1,lcase(Request.ServerVariables("http_accept")),"image/jpg") Then

    Response.Write "Jpg Supported"

Else

    Response.Write "Jpg not Supported"

End If

%>
One more thing. It is note necessary that a phone supporting JPG should be
color. It can be a b/w model.
73s

_________________
Mayank Raichura
Web http://www.khagol.net
Web http://www.mayankraichura.com
WAP http://www.mayankraichura.com

[ This Message was edited by: khagol on 2004-12-23 20:10 ]
--
Posted: 2004-12-23 21:07:53
Edit : Quote

New Topic   Reply
Forum Index

Esato home