Hi,

Sorry for late reply I was on vacation.
I did manage to save it to default database - (on my Android 2.1)

In order to do so I used the function below:
         private void storeMessage(String mobNo, String msg) {
        ContentValues values = new ContentValues();
        values.put("address", mobNo);
        values.put("body", msg);
        getContentResolver().insert(Uri.parse("content://sms/sent"), values);
       }

I had to add READ_SMS and WRITE_SMS permission to my manifest.



On Jul 27, 1:14 pm, Luca <[email protected]> wrote:
> I need the same thing... did you resolved that?
> I need to save a message on the outbox
>
> On Jul 14, 7:45 am, Suzann <[email protected]> wrote:
>
>
>
> > Hello,
> > I have developed a simple application that on certain events sends anSMSto 
> > ppl from my address book.
> > All works perfectly EXCEPT there is no trace of theSMSsent.
> > I know that theSMSgets delivered - I have tested it but eventually I
> > would like to have a trace of what was sent.
> > I have tried giving write permission but it didn't help.
> > Is there something special I have to do?
> > Thanks,
> > Suzann- Hide quoted text -
>
> - Show quoted text -

-- 
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