How can we insert date in content://sms/inbox. i m using this code
ContentValues sms = new ContentVa开发者_运维技巧lues();
sms.put("date", long date);
objContext.getContentResolver().insert( Uri.parse("content://sms/inbox"),sms);
plz give me any solution.
Thanx khan
Use this:
sms.put("date", String.valueOf(System.currentTimeMillis()));
精彩评论