473,770 Members | 1,826 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Identify Palm or Blackberry

Does anyone have a method of determining if a visitor to a web page is using
a Palm or Blackberry mobile device?

With the code below, I can easily identify a Window CE, Pocket PC or Window
Mobile device, but am having trouble with the Palm.

My problem is that for those individuals I know who use Palms to access the
Internet, their browser is called Blazer and it returns an operating system
of Win98 and a browser of IE--hardly anything that identifies the device as
a Palm or mobile. The IsMobileDevice below does not detect the Palm either.
My Blackberry tester has not yet responded to me whether he is redirected
properly or what sort of browser or OS information is produced.

Dim temp As String = LCase(Request.B rowser.Platform )
If InStr(temp, "wince") 0 Then 'WinCE
'send them to the appropriate page for mobile
Server.Transfer ("ppcDefault.as px")
Else
'send them to a normal page
End If

If Request.Browser ("IsMobileDevic e") = True Then
'send them to the appropriate page for mobile
Server.Transfer ("ppcDefault.as px")
Else
'send them to a normal page
End If
Oct 15 '06 #1
2 3893
have you read this, someone done quite a decent investigation into detecting
blackberries
--
--
Regards

John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com
"William LaMartin" <la******@tampa bay.rr.comwrote in message
news:u6******** ******@TK2MSFTN GP02.phx.gbl...
Does anyone have a method of determining if a visitor to a web page is
using a Palm or Blackberry mobile device?

With the code below, I can easily identify a Window CE, Pocket PC or
Window Mobile device, but am having trouble with the Palm.

My problem is that for those individuals I know who use Palms to access
the Internet, their browser is called Blazer and it returns an operating
system of Win98 and a browser of IE--hardly anything that identifies the
device as a Palm or mobile. The IsMobileDevice below does not detect the
Palm either. My Blackberry tester has not yet responded to me whether he
is redirected properly or what sort of browser or OS information is
produced.

Dim temp As String = LCase(Request.B rowser.Platform )
If InStr(temp, "wince") 0 Then 'WinCE
'send them to the appropriate page for mobile
Server.Transfer ("ppcDefault.as px")
Else
'send them to a normal page
End If

If Request.Browser ("IsMobileDevic e") = True Then
'send them to the appropriate page for mobile
Server.Transfer ("ppcDefault.as px")
Else
'send them to a normal page
End If

Oct 15 '06 #2
and the link might help :)

http://www.123aspx.com/redir.aspx?res=34655

--
--
Regards

John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com
"John Timney (MVP)" <x_****@timney. eclipse.co.ukwr ote in message
news:KM******** *************** *******@eclipse .net.uk...
have you read this, someone done quite a decent investigation into
detecting blackberries
--
--
Regards

John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com
"William LaMartin" <la******@tampa bay.rr.comwrote in message
news:u6******** ******@TK2MSFTN GP02.phx.gbl...
>Does anyone have a method of determining if a visitor to a web page is
using a Palm or Blackberry mobile device?

With the code below, I can easily identify a Window CE, Pocket PC or
Window Mobile device, but am having trouble with the Palm.

My problem is that for those individuals I know who use Palms to access
the Internet, their browser is called Blazer and it returns an operating
system of Win98 and a browser of IE--hardly anything that identifies the
device as a Palm or mobile. The IsMobileDevice below does not detect the
Palm either. My Blackberry tester has not yet responded to me whether he
is redirected properly or what sort of browser or OS information is
produced.

Dim temp As String = LCase(Request.B rowser.Platform )
If InStr(temp, "wince") 0 Then 'WinCE
'send them to the appropriate page for mobile
Server.Transfer ("ppcDefault.as px")
Else
'send them to a normal page
End If

If Request.Browser ("IsMobileDevic e") = True Then
'send them to the appropriate page for mobile
Server.Transfer ("ppcDefault.as px")
Else
'send them to a normal page
End If


Oct 15 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
6736
by: Nick | last post by:
I use right now Borland Delphi and VB 6. But soon going to VB.net does anyone know of any components and or tools to build apps for the Palm OS Thanks Nick Smith Beaverton, or
4
2075
by: djanvk | last post by:
QUick question: Is it possible to create a palm os program to use on a PDA with python? THanks
1
6715
by: £ukasz | last post by:
Does anybody used BlackBerry Enterprise Server? Windows Server 2003 Enterprise Exchange Server 2003 Enterprise + SP1 SQL Server 2000 + SP4 Problem: Everything is instaled properly (I hope so) exactly as is written in manual (Creating database, adding users) but BlackBerry Manager can't connect to SQL database.
1
1096
by: Chumley Walrus | last post by:
I need to write some scripts that takes dynamic sports scores from an aspx page (via sql) onto palm-pilots. What's the best place to look for WAP/WML resources that can do this. The device I will be testing output on is the BlackBerry 6210.
1
6408
by: Chumley Walrus | last post by:
I want to use an emulator to test some mobilewebform stuff (via visual studio.net IDE) , but I can't find anything for the Blackberry 6210, or compatible . I would also need some resources on how to use emulators to test coding. Thanks in advance Chumley
1
2312
by: John Cosmas | last post by:
Has anyone had the pleasure of developing ASP.NET applications of the BlackBerry? I just built a simple application, and it seems not generate incomplete HTML tags. For instance, when an <INPUT is created, it closes it with /> instead of a straight >. And for some reason whatsoever, there are carriage/return line feeds between each new <table> tag. While IE responds appropriately, the BlackBerry browser puts a <BR> between each <TD> tag...
0
1304
by: Bazza Formez | last post by:
Hi, Can anyone suggest a technical solution to this tricky business requirement.... I am developing an online ordering system using ASP.NET. (Orders are entered online from the web by registered users). Here is a summary of what I want to happen :
2
11404
HillComanchy
by: HillComanchy | last post by:
I have an old blackberry 8700c, I want to create a home screen icon that takes me directly to the SMS Inbox folder, or to a specific folder from my exchange mailbox, how do I do that? I found out that pressing alt with the wheel lets me move or delete an existing icon from the homescreen, but how do I add an entirely new one ? http://www.cebst.com/blackberry+8700c.jpg That's what it look like: http://www.cebst.com/blackberry+8700c.jpg
0
1499
by: abhamjee | last post by:
I have seen posts on how to identify a Blackberry device and this works well. However, has anyone tried to identify the user? The Blackberry server will know who is currently browsing but can this information be passed on to IIS? Thanks
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10257
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10099
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7456
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6710
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.