BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-14-2009, 10:30 AM   #1 (permalink)
New Member
 
Join Date: Jul 2009
Location: Glasgow
Model: 8900
PIN: N/A
Carrier: O2 UK
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Detecting user is accessing via a BB ?

Please Login to Remove!

Hi all,

I have some code, in Javascript, which will detect if a user visits a site on a BB device.

Any advice on how I do this if the user does not have JS enabled? The only other solution I can find is using PHP, which is not an option for me.

thanks

David
Offline  
Old 07-18-2009, 06:50 AM   #2 (permalink)
New Member
 
Join Date: Jul 2009
Location: Glasgow
Model: 8900
PIN: N/A
Carrier: O2 UK
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I take it that it can't be done?
Offline  
Old 07-18-2009, 09:01 AM   #3 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

I'm guessing that nobody understands the question.

The Blackberry device is identified in the User-Agent field, contained in the HTTP request. This is not dependant on JS.

Every web-side development tool I know of allows you to access the User-Agent field.

Anyway, this is a BlackBerry java development forum, you should probably take this question to one of the web forums.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Lot of 9 Mitel 5212 IP Dual Mode SIP VoIP System -
$198.0
Lot of 9 Mitel 5212 IP Dual Mode SIP VoIP System -   pictureIP070S VoIP Wireless Accessory Deskphone for IP170S Phone System
$93.56
IP070S VoIP Wireless Accessory Deskphone for IP170S Phone System pictureAastra Venture Voip Phone
$400.0
Aastra Venture Voip Phone picturePacket 8 Virtual Office System ST2118 VOIP Phone System Desk Unit
$10.0
Packet 8 Virtual Office System ST2118 VOIP Phone System Desk Unit pictureCisco Unified CP-7936 VoIP Conference IP Phone 7936 Polycom station *used*
$39.99
Cisco Unified CP-7936 VoIP Conference IP Phone 7936 Polycom station *used* picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.