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 32.391.160 Times

Mobile::UserAgent 1.05

  Date Added: July 26, 2010  |  Visits: 1.274

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  -  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  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 3.15.3
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
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