I am developing android app where SQlite as a database.I want to export certain result from DB in to excel file format programatically, want to store that excel to local device path 
I have come across following links 

* [SQlite database programmatically convert into Excel file format in Android](https://stackoverflow.com/questions/13068774/sqlite-database-problematically-convert-into-excel-file-format-in-android)
* [Android - Generate CSV file from table values](https://stackoverflow.com/questions/4632501/android-generate-csv-file-from-table-values)
* [android exporting to csv and sending as email attachment](https://stackoverflow.com/questions/5401104/android-exporting-to-csv-and-sending-as-email-attachment)

So what is exact procedure to implement Export to Excel for android apps ?