Is it possible to enable Cellular data programmatically?

Discussion in 'iOS Development' started by syamooo, Oct 13, 2010.

  1. syamooo

    syamooo New Member

    Joined:
    Sep 14, 2010
    Messages:
    5
    Likes Received:
    0
    Hi,

    I am developing a mobile substrate application for iPhone 4.0. I want to know is it possible to enable/disable cellular data (or EDGE) through some custom code. I have dumped out the classes of SpringBoard and private frameworks, but I was not able to find an exact method. But I find the methods for WIFI and Airplane mode. So if anybody knows about this please tell me...


    Regards,
    Syam S
  2. Jimboo

    Jimboo Member

    Joined:
    Jun 9, 2010
    Messages:
    432
    Likes Received:
    3
    Device:
    iPad
    you could use sbsettings.
  3. syamooo

    syamooo New Member

    Joined:
    Sep 14, 2010
    Messages:
    5
    Likes Received:
    0
    I have gone through SBSettings..but they are using some dynamic libraries for toggles. ie. the implementation is hidden anyway, but the confusing thing is that for each toggle they are using the same set of functions I think. Only difference in its implementation. So I don't know how to use it in my app.
  4. Jimboo

    Jimboo Member

    Joined:
    Jun 9, 2010
    Messages:
    432
    Likes Received:
    3
    Device:
    iPad
    Ohhh I see. Im sure someone bright will reply with a solution for you as soon as classes get out today. I'll do a little searching for ya.
  5. syamooo

    syamooo New Member

    Joined:
    Sep 14, 2010
    Messages:
    5
    Likes Received:
    0
    Anyway Thanks for spending some time on this thread..So I am looking forward for someone to help me on this..

Share This Page