|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
The problem is following:
I need to let my users download the LOGO,.. How to detect mobile phone model.... i'm already know..... and its OK! but how to detect phone screen size ? or its only the way to create DataBase with phones and screen size manually? Thankx. |
|
#2
|
||||
|
||||
|
Check the headers that the phone sends. Some carry that info, some carry profile info and the profile tells all it can about the phone.
__________________
Andy Moore << oh no it's got a blog..... Word Press WAP Plugin with Ad Mob Advertising revenue PHP developer deploying ringtones, mp3 downloads and realtones I'm a geek who's obsessed with stats and gadgets |
|
#3
|
|||
|
|||
|
Hello andymoo,
You wrote " Check the headers that the phone sends. Some carry that info, some carry profile info and the profile tells all it can about the phone. " can u please make it more clear that what header information contain mobile make (Company | Model ) and mobile no. Actually i need to make sure that user from a particular mobile network (service provider) can access my page. other will see another page. also i have to make a log of the users who visited my site & click on a link. I am using PERL for server side scripting. & now need to detect which user is trying to open my page |
|
#4
|
||||
|
||||
|
if you lok at the http headers the phone sends your application you might see a carrier variable sometimes but not often. if you had your own wap gateway which authenticated the users you'd get a whole load more info.
screen sizes and so on is in the profile, if the phone gives you a link to a profile you can read the xml and pluck the variables or the other way is to build a database with the user_agent variables, screen size, content_accept variables and so on. the cellphone number is rarely passed over as it's often viewed as an infringement on data protection and could open up a whole new world of sms spamming opportunites re logos, just check from the headers if it supports gif or jpg and offer a couple of different sized images based on that. hth |
|
#5
|
|||
|
|||
|
Quote:
Sir, then how i can identify & log that a particualr user come to my site , request to download . is there any way to identify him. Another question is how to provide option for JAVA games. I don't know what is main difference in .JAR & .JAD file. as i think for PC applications .JAR is java compiled archive which is an application run by jvm . In sense of mobile is it same Waiting for answers Kirtimaan |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > Does anybody know the way to detect Mobile phone screen size?.. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|