File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
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:
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-2014