I have this code that compiles in m5-rc15:
Using java Syntax Highlighting
- Cursor c = getContentResolver().query(Contacts.Phones.CONTENT_URI, projection, "type="+Contacts.Phones.TYPE_MOBILE+" AND person="+person_id, null, null);
- if (c.next()){
- c.updateString(c.getColumnIndex(Contacts.Phones.NUMBER), mobile_s);
- c.commitUpdates();
- }
Parsed in 0.031 seconds, using GeSHi 1.0.8.4
Now I need to port it on sdk 1.0r1, but the methods updateString and commitUpdates are been removed from this last one. Can anyone suggest me a workaround?
Thanks for the help.


