Meryl Silverburgh wrote:
> Thank you.
>
> I have another question about cursor.
>
> I have inserted a ContentValue like this:
> final ContentResolver cr = context.getContentResolver();
>
> ContentValue values = new ContentValues();
> values.put("title", "new title");
> values.put("x", 10
Thank you.
I have another question about cursor.
I have inserted a ContentValue like this:
final ContentResolver cr = context.getContentResolver();
ContentValue values = new ContentValues();
values.put("title", "new title");
values.put("x", 10);
Uri result = cr.insert(CONTENT_URI ,
Meryl Silverburgh wrote:
> Hi,
>
> I call ContentResolver's query method to get a Cursor, and I would
> like to update the title of that row to 'new title'
> can you please tell me how to do it?
>
> final ContentResolver cr = context.getContentResolver();
> Cursor c = cr.query(MY_CONTENT_URI,
>
3 matches
Mail list logo