After quite many hour of searching around for the "canonical_addresses" table, you told me about, I had no luck. I feel sad that I m interested in developing a application on a platform that is supposed to be well documented and supported, but cant do a so simple operation, like retrieving the destination number of a draft sms. I tried to relate the id of the draft sms record in the sms table, to the id of the records of other tables provided by "content provider", but I had no luck again. It is annoying especially because many application seem to have managed with this issue, but don't seems to reveal their knowledge to the public, so that this undocumented part of the sdk could be enlighted.
If someone thinks that can provide any info on retrieving the Draft SMS details, especially the phone number that is missing (for unknown reason) from the SMS database table, would be more than welcome! On 5 Μάϊος, 09:31, sermojohn <[email protected]> wrote: > many thanx for that information! at least I have the starting point > now to search more > on how to retrieve this data, as I was stack on this problem! > Hopefully it will not be hard now. > > many thanx again, > /sermojohn > > On May 4, 11:06 pm, swarup <[email protected]> wrote: > > > 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 anSMSapplication I ve faced this issue. Despite > > > not having any problem to read any > > >SMSfrom the "content://sms" uri, when there is e adraftSMSin the > > >SMStable, only its message body is retrieved, but not the address > > > number that has to be written in theSMSform, so that theSMScan be > > > saved in drafts ( this is what I ve noticed that manySMSapplications > > > ask from the user ). > > > Does anyone know, if theDraftSMSare saved somewhere else, > > > separately or if their phone address is saved on another field than > > > the phone address of theSMSstored 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 -~----------~----~----~----~------~----~------~--~---

