1. #1
    Ext JS Premium Member kgmoney's Avatar
    Join Date
    Oct 2007
    Location
    Normal, IL
    Posts
    107
    Vote Rating
    0
    kgmoney is on a distinguished road

      0  

    Default Detecting Phone/OS

    Detecting Phone/OS


    Hi,

    In Sencha Touch, is there a easy way to detect the device os (android vs iphone/ipod). I'm not seeing the same functions that Ext offers for this.

    Thanks,
    Kevin

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,112
    Vote Rating
    504
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Ext JS Premium Member kgmoney's Avatar
    Join Date
    Oct 2007
    Location
    Normal, IL
    Posts
    107
    Vote Rating
    0
    kgmoney is on a distinguished road

      0  

    Default


    ah, brilliant thanks

  4. #4
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,337
    Vote Rating
    75
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    API ftw

  5. #5
    Sencha User gaurav.k's Avatar
    Join Date
    Nov 2011
    Location
    Bangalore, India
    Posts
    11
    Vote Rating
    0
    gaurav.k is on a distinguished road

      0  

    Lightbulb YOu can write your own

    YOu can write your own


    Code:
    var isPhone = function() {
        return (/android|iphone/i.test(navigator.userAgent.toLowerCase()) && !(/ipad/i.test(navigator.userAgent.toLowerCase())));
    };

Similar Threads

  1. Phone Number Validation
    By cchain in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 24 Jul 2009, 7:47 AM
  2. TextField formatted phone
    By quantum1 in forum Community Discussion
    Replies: 2
    Last Post: 7 Apr 2009, 5:15 AM
  3. Phone Number renderer
    By frew in forum Ext 2.x: User Extensions and Plugins
    Replies: 1
    Last Post: 2 Apr 2009, 2:24 PM
  4. Phone Masking
    By deblasio in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 18 Sep 2008, 10:36 AM

Thread Participants: 3

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar