¡@

Home 

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

android Programming Glossary: selectargs2

Android Contacts - Update Note

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

' Note.CONTENT_ITEM_TYPE ' AND Email.TYPE String selectArgs2 new String contactId String.valueOf Email.TYPE_OTHER operationList.add.. Data.CONTENT_URI .withSelection selectArgs1 selectArgs2 .withValue Note.Note hello@hi.com .build This is all working.. 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..

Android Contacts - Update Note

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

updates them.. String selectArgs1 Data.CONTACT_ID AND Data.MIMETYPE ' Note.CONTENT_ITEM_TYPE ' AND Email.TYPE String selectArgs2 new String contactId String.valueOf Email.TYPE_OTHER operationList.add ContentProviderOperation.newUpdate Data.CONTENT_URI.. 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. There isn't.. 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 public static..