i have a database created under data/data/(my package name)/databases/(my db) what i want to achieve now is store the databse in a .csv file then email it is it even possible in android
Asked
Active
Viewed 96 times
-3
-
Yes it is possible. Please use Google. – Simon May 26 '13 at 07:50
1 Answers
1
Yes this is possible. Loop through your cursor and generate a csv file. Then, send an email intent.
If you have an other question, please ask it explicity.

Waza_Be
- 39,407
- 49
- 186
- 260
-
I'm not able to create csv in my android by using implementation files('libs/opencsv-4.1.jar') , Can you please tell me how to create csv file in android and attached that file in email. i already put the code but i'm not getting the location of csv. Pleae help me – Abhishek kumar Feb 01 '18 at 07:55
-
Please ask explicity your issue. We cannot do the whole project for you – Waza_Be Feb 02 '18 at 09:32
-
My Code : String csv = android.os.Environment.getExternalStorageDirectory().getAbsolutePath(); I'm not able to get Location of csv – Abhishek kumar Feb 02 '18 at 09:42
-
https://stackoverflow.com/questions/8152125/how-to-create-text-file-and-insert-data-to-that-file-on-android – Waza_Be Feb 03 '18 at 12:10