A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
Need to test detect smartphone, Adroid phone in Java code
Joined: Sep 20, 2001
Jan 01, 2011 08:49:30
I try to use USER-AGENT in Java to detect if the requester of my
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.
When I run it from PC the result is (correctly):
Is mobile: false
Is Android: false
Is smart phone:t 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
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Need to test detect smartphone, Adroid phone in Java code
ipad and ios
iPad - meh...
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013