Yes, agree with Nitin. Use existing table and using ContentResolver -
query that table.

Uri uriSMSURI = Uri.parse("content://sms");
Cursor cursor = mContext.getContentResolver().query(uriSMSURI, null,
null, null, null);

On Feb 2, 12:02 am, Nitin Sethi <sethi.5...@gmail.com> wrote:
> AFAIK, the sqlite sms db has already been created by your stock sms
> app
> and it's recommended to use the same through the ContentResolver class
> for any SMS related app.
>
> On Feb 2, 10:52 am, Ratheesh Valamchuzhy <android...@gmail.com> wrote:
>
>
>
>
>
>
>
> > you need to store the the message in sqlite db ?
> > use the content resolver to get the message details and we can store it on
> > a text file or a separate database

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to