Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.540.835 Times

Mobile::UserAgent 1.05

  Date Added: July 26, 2010  |  Visits: 1.198

Mobile::UserAgent

Report Broken Link
Printer Friendly Version


Product Homepage
Download (94 downloads)



Mobile::UserAgent is a mobile user agent string parsing class. SYNOPSIS ### Print the information parsed from a user-agent string: use Mobile::UserAgent; my $useragent = Nokia6600/1.0 (4.09.1) SymbianOS/7.0s Series60/2.0 Profile/MIDP-2.0 Configuration/CLDC-1.0; my $uaobj = new Mobile::UserAgent($useragent); if ($uaobj->success()) { print Vendor: . $uaobj->vendor() . "n"; print Model: . $uaobj->model() . "n"; print Version: . $uaobj->version() . "n"; print Series60: . $uaobj->isSeries60() . "n"; print Imode?: . $uaobj->isImode() . "n"; print Mozilla?: . $uaobj->isMozilla() . "n"; print Standard?: . $uaobj->isStandard() . "n"; print Rubbish?: . $uaobj->isRubbish() . "n"; } else { print "Not a mobile user-agent: $useragentn"; } ### Determine if the client is a mobile device. use Mobile::UserAgent (); use CGI (); # Check 1: (check if it sends a user-agent profile URL in its headers) foreach my $name (X_WAP_PROFILE,PROFILE,13_PROFILE,56_PROFILE) { if (exists($ENV{"HTTP_$name"})) { print "Client has a user-agent profile header, so its probably a mobile device.n"; last; } } # Check 2: (check if it supports WML): my $q = new CGI(); if ($q->Accept(text/vnd.wap.wml) == 1) { print "Client supports WML so its probably a mobile device.n"; } # Check 3: (check if this class can parse it) my $uaobj = new Mobile::UserAgent(); if ($uaobj->success()) { print "Clients user-agent could be parsed, so its a mobile device.n"; } Parses a mobile user agent string into its basic constituent parts, the most important being vendor and model. One reason for doing this would be to use this information to lookup vendor-model specific device characteristics in a database. You can use also use user agent profiles to do this (for which Ive developed other classes), but not all mobile phones have these, especially the older types. Another reason would be to detect if the visiting client is a mobile handset. Only real mobile user-agent strings can be parsed succesfully by this class. Most WAP emulators are not supported because they usually dont use the same user-agent strings as the devices they emulate..

Requirements: No special requirements
Platforms: Linux
Keyword: Agent Agent String Mobile Mobile User Mobile User Agent Mobileuseragent Print Profile User User Agent User Agent String User-agent Useragent
Users rating: 0/10

License: Freeware Size: 37.89 KB
USER REVIEWS
More Reviews or Write Review


MOBILE::USERAGENT RELATED
Business  -  MobiTradeOne for TD AMERITRADE Windows Mobile Edition 1.19.9.1629
MobiTradeOne for TD AMERITRADE Windows Mobile Edition is a new mobile trading platform for TD AMERITRADE clients compatible with all Windows Mobile devices. This mobile trading platform gives customers flexibility and ease in accessing their...
876 KB  
Business  -  Everbridge Mobile Aware 2.1
Everbridge Mobile Aware is a free app available to Everbridge clients that allows the user to manage their incident communications from mobile devices. With Mobile Aware, Everbridge clients can access their system from any location even under...
5.2 MB  
Virus Removers  -  NetQin Mobile Antivirus NEW 3.2
Key Benefits Running in the background at low power consumption, the application protects you against ID theft and financial losses Once installed, NetQin Mobile Anti-virus will run in the background to protect your mobile phone from insecure...
 
Web Browsers  -  Squace 0.3.0
Squace makes mobile surfing, searching, and sharing as easy as on landline Internet. Squace: - Is a new mobile Internet browser that drastically reduces loading time and clicking. - Has a unique user interface that divides the phone's...
185.19 KB  
Finance  -  MobiTradeOne for FOREX.com Mobile Phones 1.02
MobiTradeOne for FOREX.com Mobile Phones Edition is a mobile trading platform for FOREX.com clients compatible with Java supporting mobile devices. This mobile trading platform gives customers flexibility and ease in accessing their accounts...
184.32 KB  
Business  -  MobiTradeOne for FOREX.com Windows Mobile Edition 1.3.9.522
MobiTradeOne for FOREX.com Windows Mobile Edition is a mobile trading platform for FOREX.com clients compatible with Windows Mobile devices. This mobile trading platform gives customers flexibility and ease in accessing their accounts anytime and...
799 KB  
Business  -  Cezanne HR for Mobile 0.11
Cezanne HR for Mobile is a mobile edition of Cezanne OnDemand a powerful and secure online human resources system that helps companies to streamline and improve the way they manage their people. Cezanne HR for Mobile provides a fast and...
14 MB  
Business  -  ELEAD Mobile 1.0.10
ELEAD Mobile App: Complete Mobile CRM ELEAD Mobile App provides complete access to ELEAD CRM solutions. Enjoy total visibility and maximize data performance with our easy-to-use Mobile App designed to generate more deals on the sales board....
10 MB  
Finance  -  Henrico FCU Mobile 3.0.1.1012
HFCU Mobile Banking makes it easy for you to bank on the go. Check balances, view account activity, pay bills, transfer funds between your accounts and locate branches and ATMs, securely from your mobile device. HFCU Mobile Banking is a fast, free...
6.9 MB  
Education  -  225M Dead 1.1
Life in the 20th Century | 225 Million Murders An Augmented Reality Installation 2011 by Peter Weibel Mobile devices, such as iPhone or iPads are used as photographic apparatus. The viewer or user wanders through the real space,...
56.8 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB