drafts are stored at the same database i.e. /data/data/
com.android.providers.telephony/databases/mmssms.db

but drafts does not store the TO address in the same tuple like MO/MT
SMS (in the "sms" table), rather its stored in the
"canonical_addresses" table.

I am not clear how to get this info from the "canonical_addresses"
table using the ContentResolver. I guess there might be a way to do
this.


On May 4, 12:01 pm, sermojohn <[email protected]> wrote:
> Hello,
>
> while implementing an SMS application I ve faced this issue. Despite
> not having any problem to read any
> SMS from the "content://sms" uri, when there is e a draft SMS in the
> SMS table, only its message body is retrieved, but not the address
> number that has to be written in the SMS form, so that the SMS can be
> saved in drafts ( this is what I ve noticed that many SMS applications
> ask from the user ).
> Does anyone know, if the Draft SMS are saved somewhere else,
> separately or if their phone address is saved on another field than
> the phone address of the SMS stored in the inbox or outbox?
> It you be really helpful to me, if you could provide me with such
> info!
>
> /sermojohn
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to