dear all,

I have some question about provider update issue, here is my code
========================================
public static final String[] BUCKET_PROJECTION_VIDEOS = new String[] {
Video.VideoColumns.BUCKET_ID,
        Video.VideoColumns.BUCKET_DISPLAY_NAME };

        ContentResolver cr = getContentResolver();
        ContentValues values = new ContentValues();

        values.put(Video.VideoColumns.BUCKET_DISPLAY_NAME,
"/sdcard/microsd");
        cr.update(Video.Media.EXTERNAL_CONTENT_URI, values, "", null);
=========================================

but I always get the *empty values* message by logcat.
E/AndroidRuntime( 1989): Caused by: java.lang.IllegalArgumentException:
Empty values


thanks

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to