1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    10
    Vote Rating
    0
    rakesh_3607 is on a distinguished road

      0  

    Default Unanswered: Use of Device Sensor

    Unanswered: Use of Device Sensor


    Hello,

    Is there anyway by which i can get to know what all are the device sensors available in the Device.

    And if yes then how can i use the sensor information available from the device.

    Thanks,
    Rakesh

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    7,190
    Vote Rating
    195
    Answers
    436
    scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold

      0  

    Default


    Moved thread to correct forum.

    Scott.

  3. #3
    Sencha User jerome76's Avatar
    Join Date
    Apr 2012
    Location
    New Jersey
    Posts
    843
    Vote Rating
    58
    Answers
    88
    jerome76 has a spectacular aura about jerome76 has a spectacular aura about jerome76 has a spectacular aura about

      0  

    Default


    I posted this in your other topic.
    Quote Originally Posted by jerome76 View Post
    You can try using
    Code:
    window.outerHeight
    //and
    window.outerWidth
    Also, this helped me out: http://docs.sencha.com/touch/2-0/#!/guide/environment_package

    As for determining the device metrics, that would most likely be done with the native API.

Tags for this Thread