How to execute Replace command

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

How to execute Replace command

Postby saikiran » Wed Jan 27, 2010 7:44 am

Hi all,
In SyncML Device management protocol there are several management commands like
1 Add
2 Delete
3 Replace etc..
If i received the following message from server
<Replace>
<Item>
<Target>
<LocURI>/DevInfo/Lang</LocURI>
<Data>en-us</Data>
</Target>
</Item>
</Replace>
Then after parsing i have understand that we need to replace language option which is in devInfo object .
How to acheive this.
We can read language information from the following code
Locale local=context.getResources().getConfiguration().locale;
lang=local.getLanguage();
But how to change it.
Please help me
Actually i am doing all these about android device management using a syncML protocol.
How to handle these management objects.
Thanks in advance
Regards
kirann
saikiran
Freshman
Freshman
 
Posts: 4
Joined: Wed Jan 27, 2010 7:26 am
Location: India

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 7 guests