Hybrid View

  1. #1
    Sencha Premium Member
    Join Date
    Jan 2012
    Posts
    45
    Vote Rating
    0
    SButts is on a distinguished road

      0  

    Default Unanswered: How to determine device capabilities

    Unanswered: How to determine device capabilities


    Is there a simple way to determine if the device that the app is running on has various capabilities? For example, my app will run on both phones and tablets, is there a way to determine if the device is phone, camera, audio or sms capable? (I think I read somewhere that there is a tablet that can make phone calls, Samsung or something).

  2. #2
    Sencha User
    Join Date
    Aug 2012
    Location
    Denmark
    Posts
    16
    Vote Rating
    2
    Answers
    1
    Shyre is on a distinguished road

      0  

    Default Not out of the box

    Not out of the box


    You would need phonegap to help you with that.

  3. #3
    Sencha Premium Member
    Join Date
    Jan 2012
    Posts
    45
    Vote Rating
    0
    SButts is on a distinguished road

      0  

    Default


    I could do that. Is there any specific function that you know of?

  4. #4
    Sencha Premium Member
    Join Date
    Jan 2012
    Posts
    45
    Vote Rating
    0
    SButts is on a distinguished road

      0  

    Default


    Here is something that I found for Android https://github.com/Airblader/FeatureDetector

  5. #5
    Sencha Premium Member
    Join Date
    Jan 2012
    Posts
    45
    Vote Rating
    0
    SButts is on a distinguished road

      0  

    Default


    Here is some code that would just need to be converted to a plugin.

    https://github.com/MugunthKumar/DeviceHelper
    http://blog.mugunthkumar.com/coding/...f-ios-devices/

Thread Participants: 1