Results 1 to 3 of 3

Thread: how to check which type of wifi connection in ipad

  1. #1
    Sencha User
    Join Date
    May 2012
    Location
    Bangalore
    Posts
    95
    Vote Rating
    1
      0  

    Default how to check which type of wifi connection in ipad

    I have developed contact screen page using sencha touch2. my requirement is, based on type of wifi connection like 2G/3G depends on that. I want to disable some button in ipad. can any one provide the best way how to achieve this one using sencha touch2.

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

    Default

    HI!,

    You may use Ext.device.Connection property which may helps you identifying connection depending on your needs

    Sample:-
    Code:
    alert('Your connection type is: ' + Ext.device.Connection.getType());
    Connections type detected:-

    check the link below for detailed specification:-
    http://docs.sencha.com/touch/2-0/#!/...ice.Connection
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  3. #3
    Sencha User
    Join Date
    May 2012
    Location
    Bangalore
    Posts
    95
    Vote Rating
    1
      0  

    Default

    Quote Originally Posted by sword-it View Post
    HI!,

    You may use Ext.device.Connection property which may helps you identifying connection depending on your needs

    Sample:-
    Code:
    alert('Your connection type is: ' + Ext.device.Connection.getType());
    Connections type detected:-

    check the link below for detailed specification:-
    http://docs.sencha.com/touch/2-0/#!/...ice.Connection
    @sword-it Thanks a lot, it is working fine.

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
  •