contactscontract
ContactsContract.CommonDataKinds and empty contacts list
I am new to Android development (coming from a C# background) and have been working through some examples in a book. I have a question about the following lines of code.[详细]
2023-04-13 02:09 分类:问答Filter out Facebook Contacts from the Contact Picker
I have a contact picker in my application that keeps crashing when a facebook contact is selected. I won\'t have the code I\'m using to open the picker in front of me, but I believe I\'m accessing the[详细]
2023-03-30 08:53 分类:问答How to define Photo uri in ContactsContract.Contacts?
I am trying to develop a query to retrieve contacts. However, Eclipse keeps telling me that PHOTO_THUMBNAIL_URI and PHOTO_URI cannot be resolve开发者_如何学God or is not a field. Here\'s my code:[详细]
2023-03-28 16:37 分类:问答How to update Contact without removing already stored data?
I\'m trying to do a sync adapter to sync my contacts with an webstorage. When I ask this server for any contactupdates on the server-side I get a list of all the new informations added/changed. To upd[详细]
2023-03-26 17:24 分类:问答How can I retrieve contact events synced from Google Contacts without a year?
I\'m using the code below to retrieve a cursor for events and contacts and it\'s working just fine for events with a year specified. Unfortunately, events where only the day and month are set are not[详细]
2023-03-19 18:42 分类:问答All contacts that have more than one phone number
I\'m trying to get all the contacts that have more than one phone number. Using sqlite3, I queried the database like this:[详细]
2023-03-13 20:24 分类:问答Map values between different data sources
Is there any chance to get a easy way to sync data, in this case contacts, between the android contentprovider and a JSON-based server?[详细]
2023-03-13 08:26 分类:问答Android cursoroutofboundexception
I am doing a simple app, I have an edittext field and a button, the button has an onclick event. The code is as shown below:[详细]
2023-03-11 08:36 分类:问答What is the recommended way to keep a list of contacts accessible only to my app?
I am building an application that needs to keep an list of contacts. That list will be built by inserting data by the user directly or by selecting from Android contacts.[详细]
2023-03-10 05:04 分类:问答Selecting a number from user with multiple numbers when using the contact picker
I\'m trying to allow a user to select a phone number from a contact using the contact picker.However, right now all the examples I see online show how you can select a contact, but I am hoping to have[详细]
2023-03-09 16:41 分类:问答