retrieve actual sent time of an received sms in android -
in original sms app of android can check details of received sms , wil show me time , date sent sender , time received message. interested in time difference between these 2
i can time received sms via code. how can extend time sent?
uri uri = uri.parse("content://sms");     cursor cursor = getcontentresolver().query(uri, null, null, null, null);      if (cursor.movetofirst()) {         (int = 0; < cursor.getcount(); i++) {             string body = cursor.getstring(cursor.getcolumnindexorthrow("body"))                     .tostring();             string number = cursor.getstring(cursor.getcolumnindexorthrow("address"))                     .tostring();             string date = cursor.getstring(cursor.getcolumnindexorthrow("date"))                     .tostring();             date smsdaytime = new date(long.valueof(date));             string type = cursor.getstring(cursor.getcolumnindexorthrow("type"))                     .tostring();  
 
  
Comments
Post a Comment