¡@

Home 

2014/10/16 ¤W¤È 08:23:38

android Programming Glossary: selectargs1

Android Contacts - Update Note

http://stackoverflow.com/questions/6506260/android-contacts-update-note

phone and I'm using this method to updates them.. String selectArgs1 Data.CONTACT_ID AND Data.MIMETYPE ' Note.CONTENT_ITEM_TYPE '.. Data.CONTENT_URI .withSelection selectArgs1 selectArgs2 .withValue Note.Note hello@hi.com .build This is.. or anything like that so i don't know what to put in the selectArgs1 and selectArgs2 in replace of Email.TYPE and String.valueOf..

Android Contacts - Update Note

http://stackoverflow.com/questions/6506260/android-contacts-update-note

Im using the new'ish API to insert update contacts on my phone and I'm using this method to updates them.. String selectArgs1 Data.CONTACT_ID AND Data.MIMETYPE ' Note.CONTENT_ITEM_TYPE ' AND Email.TYPE String selectArgs2 new String contactId String.valueOf.. String.valueOf Email.TYPE_OTHER operationList.add ContentProviderOperation.newUpdate Data.CONTENT_URI .withSelection selectArgs1 selectArgs2 .withValue Note.Note hello@hi.com .build This is all working fine except for when i get to updating a Note... for when i get to updating a Note. There isn't a Note.Type_1 or anything like that so i don't know what to put in the selectArgs1 and selectArgs2 in replace of Email.TYPE and String.valueOf Email.TYPE_OTHER Any help would be much apreciated. Thanks Edit..