tags:

views:

123

answers:

1

I'm trying to update body of all sms on Android device with

getContentResolver().update(Uri.parse("content://sms"), values.....

query but after request done, also updates message creation/received time.

How i can update message but leave old message date?

I have tried send to update query

ContentValues values = sms values oject;
values.put("body", updatedBody);
values.put("date", oldValues.getAsString("date"));

but it does not help.

A: 

I found that getContentResolver().update() with values.put("date"...) updates SMS date correctly, the only problem is - incorrect displaying date for conversation thread. If enter into conversation, you'll see correct dates for SMS messages, after some enter and leave different conversations, android change conversation dates to correct.

The only problem how force updating conversation dates to correct...