| Author |
Need to test detect smartphone, Adroid phone in Java code
|
Bruce Jin
Ranch Hand
Joined: Sep 20, 2001
Posts: 666
|
|
I try to use USER-AGENT in Java to detect if the requester of my servlet is smartphone (or Android or iPhone or iPad). Can someone with those devices run this URL and post the result here? I do not have a smartphone.
Thanks!
http://www.crazybikes.com:8011/mrcjava/servlet/detect
When I run it from PC the result is (correctly):
Is mobile: false
Is Android: false
Is smart phone:t false
Is iPhone:false
Is iPad: false
|
BJ - SCJP and SCWCD
We love Java programming. It is contagious, very cool, and lot of fun. - Peter Coad, Java Design
Crazy Bikes created by m-Power
|
 |
 |
|
|
subject: Need to test detect smartphone, Adroid phone in Java code
|
|
|