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

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

Serving Software Downloads in 956 Categories, Downloaded 50.165.655 Times

Mobile::UserAgent 1.05

  Date Added: July 26, 2010  |  Visits: 1.877

Mobile::UserAgent

Report Broken Link
Printer Friendly Version


Product Homepage
Download (124 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  -  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  
Network & Internet  -  UAControl 0.1.2.1
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  
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  
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  
Utilities  -  WSGIUserAgentMobile 0.2.12
Mobile user agent string parser for WSGI applications WSGIUserAgentMobile is HTTP mobile user agent string parser Python module. It'll be useful in parsing HTTP_USER_AGENT strings of (mainly Japanese) mobile devices. This...
30.72 KB  
Libraries  -  Mobile::Wurfl 1.06
Mobile::Wurfl is a Perl module interface to WURFL (the Wireless Universal Resource File. SYNOPSIS my $wurfl = Mobile::Wurfl->new( wurfl_home => "/path/to/wurfl/home", db_descriptor => "DBI:mysql:database=wurfl:host=localhost", db_username...
102.4 KB  
Modules  -  User Agent Logger 1.0
It also adds a "view user agents" permission that can be used in themes to show the user agent a given post was made with. This may be useful for sites with support forums pertaining to browsers or to web sites themselves, in which knowing a...
 
Modules  -  View User Agent 1.0.4
Displays the user agent of a session on the admin page
 
Communication  -  Mobile user Localization in WSN 1.0
There are two stages in our experiments, one is to find the predicted values of the signal strengths (RSSId-deOaos) by using Grey prediction algorithm and second is to find the location coordinate of the mobile user by using Dynamic Triangular...
10 KB  
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 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