Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    HTTP::MobileAgent::Plugin::SmartPhone 0.02

    Download button

    No screenshots available
    Downloads: 134  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Masayuki Matsuki | More programs
    Perl Artistic License / FREE
    August 2nd, 2012, 01:24 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    HTTP::MobileAgent::Plugin::SmartPhone description

    Plugin of HTTP::MobileAgent for detecting smartphone

    HTTP::MobileAgent::Plugin::SmartPhone is a Perl plugin of HTTP::MobileAgent for detecting smartphone.

    SYNOPSIS

     use HTTP::MobileAgent;
     use HTTP::MobileAgent::Plugin::SmartPhone;

     my $agent = HTTP::MobileAgent->new;
     if ($agent->is_smartphone) {
     if ($agent->is_ios) {
     if ($agent->is_iphone) {
     ...
     }
     elsif ($agent->is_ipod) {
     ...
     }
     elsif ($agent->is_ipad) {
     ...
     }
     }
     elsif ($agent->is_android) {
     if ($agent->is_android_tablet) {
     ...
     }
     else {
     ...
     }
     }
     }
     $agent->ios_version; # eg. 5
     $agent->ios_full_version; # eg. 5_0_1



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    HTTP::MobileAgent plugin | Perl module | smartphone detector | Perl | HTTP::MobileAgent | plugin

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM