Results 1 to 7 of 7

Thread: Can read device information from Sencha Touch?

  1. #1

    Default Can read device information from Sencha Touch?

    Hi,

    Can we read device information from sencha touch?
    I need to read IMEI number from iPhone device. Is it possible on Sencha Touch2.x?
    Please help me. I am troubling to read it?

    Thanks
    Kuloth

  2. #2
    Sencha User sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,335

    Default

    HI!,

    You may use phonegap to wrap your Sencha application in a native wrapper.
    PhoneGap have a nice UUID (device's Universally Unique Identifier) property.

    check the link below:-
    http://docs.phonegap.com/en/1.3.0/ph...ml#device.uuid
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  3. #3

    Default Can we read device information from iPhone emulators?

    Hi sword,

    Thaks for your quick reply.
    I will download phonegap and will try it. But i have two questions.

    1. Is PhoneGap will work on Windows7?
    2. Can we read device information from iPhone emulators like "MobiOne Test Center"?

    Please help me

    Thanks
    Kulothungan

  4. #4
    Sencha User sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,335

    Default

    HI!

    For your first Question:-
    Yes, PhoneGap now fully supports Windows Phone 7.
    For more details, check this:
    https://build.phonegap.com/blog/intr...phone-7-builds

    For Your Second Question:-

    Sencha and PhoneGap are two different frameworks. The first one helps you build a application and the second one is just a wrapper that gives you access to the device through its API.

    You can access to device information, contacts by using phonegap.
    Check this links:-
    http://docs.phonegap.com/en/1.0.0/ph...d.html#Contact
    http://docs.phonegap.com/en/1.0.0/ph...device.md.html
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  5. #5

    Default

    Hi Sword,

    Very thanks for your quick reply.

    I have installed Sench Architect 2 on my Windows7 OS machine.
    Can we installed PhoneGap on Windows7 OS machine?
    If can, where i will download PhoneGap?

    I have download "phonegap-phonegap-41e05fc.zip" file from www.phonegap.com.
    And i have unzip that folder. But there is no installation file?

    How can integrate PhoneGap with Sencha?

    Please help me.

    Thanks,
    Kulothungan

  6. #6
    Sencha User sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,335

    Default

    HI!

    Download phonegap from here:-
    phonegap.com/download/

    Tutorial for phonegap and linking Phonegap with Sencha touch:-
    http://www.sencha.com/learn/a-sencha...with-phonegap/
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  7. #7

    Default

    I have use this code below code, i would like to identify the device by uuid but its not showing the uuid.

    requires: ['Ext.device.Device'],
    launch: function() {
    alert([
    'Device name: ' + Ext.device.Device.name,
    'Device platform: ' + Ext.device.Device.platform,
    'Device UUID: ' + Ext.device.Device.uuid
    ].join('\n'));
    }

    May you please help me on how can i retrive the uuid or even IMEI Number

Posting Permissions

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