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

Mobile::UserAgent 1.05

  Date Added: July 26, 2010  |  Visits: 1.624


Report Broken Link
Printer Friendly Version

Product Homepage
Download (102 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
More Reviews or Write Review

Business  -  PCLReader for Mobile PCL 8.895
PCLReader views, converts and prints PDA- and Mobile device-generated HP PCL print files with extensions like SPP, PCL or PRN. This is useful when you are viewing long documents that you want to view later and a mobile or wireless printer is not...
8.1 MB  
Business  -  CDM+ Mobile 1.5
DESCRIPTION: CDM+ Mobile is a companion app to CDM+, a powerful data management system for churches and non-profit organizations. CDM+ Mobile connects you to your data in meaningful and useful ways wherever you are. NOTE: By default,...
3.6 MB  
Finance  -  Horizon Bank Mobile App 3.2
With Horizon Banks Mobile Banking App you can safely and securely access your accounts anytime, anywhere. Our mobile app is FREE and allows you to: Make a deposit via Mobile Deposit View your balance View account activity ...
10.7 MB  
Network & Internet  -  UAControl
This extension will allow you to control what string is sent as the User-Agent in HTTP header, per each site (domain). Note this cannot control the native User-Agent string used by javascript (e.g. navigator.userAgent). And some sites...
40.96 KB  
Networking  -  Cotton Framework 0.1.3
This is a public beta.Cotton Framework comes with a complete XHTML and CSS Theme for designers to style using Child Themes. * Choose whether your site validates as XHTML 1.0 Strict, XHTML 1.0 Transitional or XHTML 1.1 DTD * W3C Standards Compliant...
10 KB  
Business  -  QGS Touch - POS 3.5.1
QGS Touch, a cutting-edge POS better than ever, helps you overcome your daily hassles and remotely run your business. With our fabulous POS app for iPad, you can tackle all problems in making multiple receipts, sophisticated payment, managing a...
24.5 MB  
Business  -  APPJETZT
Der einfache und bezahlbare Weg zur eigenen App. Fur Unternehmen, Vereine, Kunstler und Personlichkeiten. Ihre eigene App - Einfach naher dran. Einfach APPJETZT. IT-Center Engels und Medien - gemeinsam mit Ihnen...
4 MB  
Communication  -  Grey prediction algorithm for mobile user localization 1.0
this algorithm predicts the received signal strength for the mobile user to avoid fluctuation in received signal strength during localization of the mobile user(finding mobile user's location)
10 KB  
Business  -  baramundi Mobile Agent
With baramundi Mobile Agent, you can use your Windows Phone 8 device as an end user to access a self-service portal, which your system administrator provides through your company's baramundi Management Suite. In this portal, you can request...
4 MB  
Modules  -  Nokia Mobile Theme 6.x-1.3
This a theme designed for a mobile experience, it provides different presentation layers to best serve basic devices and high-end smartphones.This theme is based on the original work of teemule and his Mobile Plugin and the design is based on the...
92.16 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  -  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 4.0.0
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