Results 1 to 3 of 3

Thread: Use of Device Sensor

  1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    10
    Vote Rating
    0
      0  

    Default 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
    9,389
    Answers
    716
    Vote Rating
    498
      0  

    Default

    Moved thread to correct forum.

    Scott.

  3. #3
    Sencha User jerome76's Avatar
    Join Date
    Apr 2012
    Location
    New Jersey
    Posts
    1,149
    Answers
    132
    Vote Rating
    101
      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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •