For what is worth, there is already an application on Market called APNDroid that will just do that for you
On Thu, Apr 16, 2009 at 8:14 PM, Omer Saatcioglu <osaatcio...@gmail.com>wrote: > Hello all, > The service providers in my country are charging for the MBs I downloaded > in my GPRS/EDGE connection. So, whenever I want to disable the GPRS, I just > change my default APN to something wrong and then correct it when I want to > enable it again. I couldn't find another way to enable/disable. I think, > Android team assumed that only 3G users with a good data plan only would use > this phone. Anyway, I just want to develop an application which can do that > automatically for me. However; I couldn't find how to change the APN > settings in the docs. The only clue I had was this: > http://developer.android.com/reference/android/provider/Settings.html#ACTION_APN_SETTINGS > > but I couldn't find how to use it. Could you please help me? Any > alternative ways and/or suggestions are welcome. > > Thank you, > Omer > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---