android-contentresolver
getting phone book to application
I wrote the following code to get the contact details.The problem is the phone number I am getting is showing null.Can You help me?[详细]
2023-02-25 12:03 分类:问答How to select multiple contacts at a time?
I retrieve phonebook contacts to my application by using following code: public void onCreate(Bundle savedInstanceState)[详细]
2023-02-25 05:51 分类:问答Android: Tilting mobile makes ImageView content disappear / URI refreshed
Thank you in advance for any responses. I am facing rather a trivial problem. Hardware: Motorola (Android phone)[详细]
2023-02-20 00:16 分类:问答Can I gain access to telephony settings through the contentresolver or elsewhere outside an activity
As part of a test utility on android I am gaining access to the telephony setting in my activity as follows:[详细]
2023-02-19 14:27 分类:问答Android Event contentResolver query synchronize problem
I am using following code to pull the data from the core event calendar application to show in my app.[详细]
2023-02-18 19:49 分类:问答Android application crashes at getContentResolver().query
Please find the attached code to retrieve the contact name for the incoming call. Here I hard coded the number as \"123\". I have added this contact in the emulator. But the application crashes at get[详细]
2023-02-16 23:19 分类:问答Android: Accessing and querying properly using Raw Contact Id
So my app is attempting to integrate a sync adapter to the android native contact manager. This is all running smoothly except once a contact is synced, I am unable to update it. Details on this parti[详细]
2023-02-16 17:46 分类:问答Trouble writing internal memory android
void launchImageCapture(Activity context) { Uri imageFileUri = context.getContentResolver() .insert(Media.INTERNAL_CONTENT_URI, new ContentValues());[详细]
2023-02-15 17:27 分类:问答Problem with Email ContentResolver
I\'m using the following code to build a list of email addresses on the device to display on a ListActivity. Currently I can retrieve the email addresses ok, but they\'re coming up in the form: null ([详细]
2023-02-15 15:26 分类:问答Android SQL Null Constant Value
I have this cuestion for you... We are trying to pass an argument to a query in a content resolver. We want to get all rows if the argument is NULL, or get the specific value indicated at the argumen[详细]
2023-02-14 20:51 分类:问答