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 2 INTEL XEON SLACB CPU/MICROPROCESSORS E5310
$19.99
LOT OF 2 INTEL XEON SLACB CPU/MICROPROCESSORS E5310 pictureNew HP Proliant DL380 Gen4/ML370 Server Intel Xeon Processor 311584-B21
$28.79
New HP Proliant DL380 Gen4/ML370 Server Intel Xeon Processor 311584-B21 pictureSupermicro X6DHT-G Dual Xeon Server Motherboard w/ Adaptec AAR-2020SA
$199.99
Supermicro X6DHT-G Dual Xeon Server Motherboard w/ Adaptec AAR-2020SA  picture LAMBDA LS SUTTER INSTRUMENT COMPANY XEON ARC LAMP W/ FILTER
$975.0
 LAMBDA LS SUTTER INSTRUMENT COMPANY XEON ARC LAMP W/ FILTER pictureSERVER HP DL380 G5 439954-002 2 x Intel Xeon 5150 2,66 Ghz
$780.0
SERVER HP DL380 G5 439954-002  2 x Intel Xeon 5150 2,66 Ghz picture






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