Is it possible to keep a file(.txt or .pdf) in my android project folder and add its link in some activity, so that when clicked the file from my project folder is downloaded(or saved) to users sd card on internal memory ??
Asked
Active
Viewed 371 times
0
-
Yes, use an assets folder. Place your files there. No need to copy to SD card. http://stackoverflow.com/a/34315335/2308683 – OneCricketeer Jul 31 '16 at 16:09
-
Thanks a lot for the help – Dipsraj Jul 31 '16 at 17:03
-
You don't need to comment to say thanks. Read here for more information. http://stackoverflow.com/help/someone-answers – OneCricketeer Jul 31 '16 at 17:09
1 Answers
0
Yes you can,
put file(s) in your asset folder and use below solution for copy them to sdcard or internal memory How to copy files from 'assets' folder to sdcard?
Community
- 1
- 1
SadeghAlavizadeh
- 607
- 3
- 17
- 33