Results 1 to 5 of 5

Thread: How to determine device capabilities

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha Premium Member
    Join Date
    Jan 2012
    Posts
    45
    Vote Rating
    0
      0  

    Default 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
    17
    Answers
    1
    Vote Rating
    2
      0  

    Default 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
      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
      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
      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/

Posting Permissions

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