With this class you can easely detect mobile devices. This class is very easy to use and support lots of mobile devices, even the new Mac iPad.
Opera mini devices
Generic devices like PSP , PDA, wap phones, ....
Fixed iPhone 4 problem
Added some extra detections for generic devices
Added HTC HD2 detection