How to setup Access Point parameters programmatically

by luc276 » Thu, 30 Apr 2009 02:05:56 GMT

Sponsored Links
 Hi all
First I'm using the Android SDK 1.5 with ADT 0.9 and I'm investigating
with the emulator.
I'm wondering how to setup the Andoid Access Point parameters (like
APN, username, password..) programmatically.
I saw a WRITE_APN_SETTINGS permission in the SDK help but didn't find
any way to use it.
I guess the settings are stored into /data/data/ and  into /data/
but I cannot access them programmaticaly.
Indeed, when I call
SQLiteDatabase myDB = SQLiteDatabase.openDatabase("/data/data/", null,
an SQLiteException is thrown (830058649800) "unable to open database
I tried to define in the manifest several permissions like
CHANGE_CONFIGURATION, WRITE_SETTINGS but without more success. Just
noticed that I can access the two files with with "adb shell sqlite3"
or DDMS and pull them from the emulator to the PC.
I'm working on the topic since a week and I'm really in hurry right
now so your helps will be greatly appreciated.
Thanks in advance


Other Threads

1. regarding parser node


   Is it possible to bypass the parser node in case I just have a raw
data and directly connect the media input node (outport) to the
decoder node? Can the minimal parsing/reading of the header
information be done at the application level? Please help.



2. Market di x10 mini hilang

Ada x10 mini temen saya yg icon markernya hilang .
Padahal yg dia lakukan hanya arrange icon. Mungkin ada yg bisa kasih info
gimana munculin lagi.



"Indonesian Android Community [id-android]" 

3. bitmap from a linear layout

4. Using other app stores (non google) any luck ? (For outside google paid countries)

5. OOT::Paging suhu Dede Adrian

6. Re[4]: WTA: Ada yang punyas aplkasi sms tembus pandang seperti ini?

7. ParserConfigurationException: