Sorry i dont like altering the web.config file as it has caused me many problems before. Can you please advise me where the code you suggested should go? My web.config is below:-
<?xml
version="1.0"?><!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
Would i not be able to define ALL mobile devices which have access to the Internet..?
Because there are thousands of different mobile devices it is a lot of work. The best way for my experience is to define only modern devices and browsers, e. g. iPhone, iPod touch, Windows Mobile 6.x, BlackBerry software version 4.6 and higher, T-Mobile
G1 Android, Nokia Series 60, Opera Mobile, NetFront. Those phones are most used for mobile internet.
So if i wanted to define the main mobile devices used such as Nokia, Sony Ericsson, Samsung etc ... would i need to alter the code in the web.config file?
How can i do this, as the code you suggeted before was beyond my knowledge..?
Sorry let me be abit more specific. according to stats the most mobile devices used are:-
Motorola RAZR V3, LG VX8300,,Apple iPhone, Apple iPod Touch, LG, BlackBerry, Nokia, Windows Mobile, Opera Mobile & NetFront
Would implementing this to work be a waste of time? I want to cover the mobile devices whihc are mostly used which is what you have suggested. I think its a much better idea. So do i need to alter anything in the web.config?
you have to collect user agent strings and headers of the mobile devices. Like I have described it for your Nokia N95 you have to extract regular expressions to identify phones by user agent and define the device or browser in the Web.config or seperate
Browser Definition Files. For every device a filter has to be added to the Web.config for example. This is not a waste of time but a lot of work.
The code you suggested in the web.config, will it only work for Nokia N95 and not all Nokia mobile devices? I have found a whole load of user-agent headers shown below:-
SKT_01
Participant
1930 Points
435 Posts
Re: Predicting how users connect
Mar 14, 2009 03:30 PM|LINK
billy_111
Member
333 Points
878 Posts
Re: Predicting how users connect
Mar 14, 2009 03:45 PM|LINK
Thank you so much, that works perfectly. If i wanted to make this code work with ALL mobile devices would i be able to do this:-
You said earliar:-
Would i not be able to define ALL mobile devices which have access to the Internet..?
SKT_01
Participant
1930 Points
435 Posts
Re: Predicting how users connect
Mar 14, 2009 03:59 PM|LINK
Because there are thousands of different mobile devices it is a lot of work. The best way for my experience is to define only modern devices and browsers, e. g. iPhone, iPod touch, Windows Mobile 6.x, BlackBerry software version 4.6 and higher, T-Mobile G1 Android, Nokia Series 60, Opera Mobile, NetFront. Those phones are most used for mobile internet.
billy_111
Member
333 Points
878 Posts
Re: Predicting how users connect
Mar 14, 2009 04:10 PM|LINK
So if i wanted to define the main mobile devices used such as Nokia, Sony Ericsson, Samsung etc ... would i need to alter the code in the web.config file?
How can i do this, as the code you suggeted before was beyond my knowledge..?
Thanks Again
billy_111
Member
333 Points
878 Posts
Re: Predicting how users connect
Mar 14, 2009 04:17 PM|LINK
Sorry let me be abit more specific. according to stats the most mobile devices used are:-
Would implementing this to work be a waste of time? I want to cover the mobile devices whihc are mostly used which is what you have suggested. I think its a much better idea. So do i need to alter anything in the web.config?
What step do i take from here?
Thanks for you help
Appreciate it
SKT_01
Participant
1930 Points
435 Posts
Re: Predicting how users connect
Mar 14, 2009 04:43 PM|LINK
Hello,
you have to collect user agent strings and headers of the mobile devices. Like I have described it for your Nokia N95 you have to extract regular expressions to identify phones by user agent and define the device or browser in the Web.config or seperate Browser Definition Files. For every device a filter has to be added to the Web.config for example. This is not a waste of time but a lot of work.
billy_111
Member
333 Points
878 Posts
Re: Predicting how users connect
Mar 15, 2009 04:39 AM|LINK
Hey thanks,
The code you suggested in the web.config, will it only work for Nokia N95 and not all Nokia mobile devices? I have found a whole load of user-agent headers shown below:-
If i put these in the web.config, will thw above mobile devices be covered?
Sorry for all the 21 questions
SKT_01
Participant
1930 Points
435 Posts
Re: Predicting how users connect
Mar 20, 2009 12:21 PM|LINK
Hello again,
Microsoft has published a new Mobile Device Browser File that might be helpful for you.