In the previous post you learnt how to delete old call logs from your Android device. In Android tip, I am going to show you how to delete all SMS from your Android devices programmatically.
An Android phone stores SMS in a table of SQLite database. You can refer to the table by creating an Uri object with its parse method:
There are 17 columns in the table. If you want to get all column names of the table, the following code can help you:
Cursor cursor=cr.query(url, null,null,null,null);
Posted by: Dara | post date: 08-05-2014 | Subject: Android Apps Development
This website intents to provide free and high quality tutorials, examples, exercises and solutions, questions and answers of programming and scripting languages: