BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-21-2011, 03:49 AM   #1 (permalink)
New Member
 
Join Date: Jul 2011
Model: 9550
PIN: N/A
Carrier: Verizon
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How to turn off Data services

Please Login to Remove!

I tried to turn off data services using the code Radio.deactivateWAFs(RadioInfo.WAF_3GPP), however it is turning off Mobile network as well. Is it possible to turn off Data services by code? because I found that, RIM does not provide API to turn off data services, so may we have to work around by use PersistentObject to change data services value. May the code like this:

PersistentObject persist = PersistentStore.getPersistentObject( OptionsDataServicesData.ID );
persist.setContents( new OptionsDataServicesData() );
persist.commit();

OptionsDataServicesData.ID is a unique long number, example: long MY_DATA_ID = 0x33abf322367f9018L;

but I don't know exactly value. Could someone know value of this ID?
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: How to turn off Data services
Thread Thread Starter Forum Replies Last Post
Data services help help19872 General BlackBerry Discussion 5 02-15-2010 11:08 PM
[International Travel] Wi-Fi with Data Services off possible? brill General 9000 Series Discussion - Bold 8 11-30-2009 06:48 AM
RogersPetition.com Mission Accomplished (Rogers now has 200MB plan) Mark Rejhon General BlackBerry Discussion 35 08-30-2006 02:37 PM
Disabling data services while roaming kleinpg General Legacy Device Discussion 3 09-14-2005 10:51 AM





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.