Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: Get all sent sms? (outbox)

I'm writing an app to backup all text messages. Been working on it for a while and i just realized the method i'm using to retrieve sms' only gets the ones i got (the inbox).

Is it possible, in any way, to get the outbox?

If it's not in the Android API, is it possible to get it from the default SMS app somehow? Even if not everybody uses it it will work for now, it's kind of urgent.

like image 762
qwerty Avatar asked May 19 '12 18:05

qwerty


Video Answer


1 Answers

to get the sent messages you need to read sent-directory

Use this Uri query

Uri.parse("content://sms/sent");
like image 57
Tarun Avatar answered Oct 17 '22 00:10

Tarun