View Single Post
Posts: 74 | Thanked: 34 times | Joined on Jan 2008
#7
Originally Posted by Matan View Post
The first string in get_statistics gives you the id of the string. you need to look at the gconf database to convert it to a name.

In python you need to do something like:

self.conns = gconf_client.all_dirs("/system/osso/connectivity/IAP")
for item in self.conns:
name=gconf_client.get_string(item+"/name")
I must have misunderstand you, as pasting these in python - doesnt work.
I used this:
Code:
gconftool -R  /system/osso/connectivity/IAP |more
and looked for the GPRS section (first in my case)
by ID , do you mean what I marked bold?
last_used_type = GPRS
flightmode_wlan = false
wlan_tx_power = 8
last_used_attrs = 83886080
last_used_network = Internet 3G
/system/osso/connectivity/IAP/36d13d8b-5baf-49af-8a3c-508c3c2a558f:
wlan_security = NONE