Hybrid View

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

      0  

    Default Chances of using Sensor using sencha Touch

    Chances of using Sensor using sencha Touch


    Hello,

    As most of the devices are quipped with high accuracy sensors and in native development there are very simple API to use it.

    1> How can i find which sensors are available in device using Sencha Touch ?
    2> If yes, then are there any api for using sensor to get Information from sensor by sencha Touch ?

  2. #2
    Sencha User jerome76's Avatar
    Join Date
    Apr 2012
    Location
    New Jersey
    Posts
    1,149
    Vote Rating
    99
    jerome76 is just really nice jerome76 is just really nice jerome76 is just really nice jerome76 is just really nice jerome76 is just really nice

      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.

Thread Participants: 1

Tags for this Thread