LanXchange icon indicating copy to clipboard operation
LanXchange copied to clipboard

Android: SD card support

Open tfg13 opened this issue 7 years ago • 2 comments

Investigate how complicated this really is.

tfg13 avatar Mar 21 '17 20:03 tfg13

if you can share the class name in which download and copying the file to internal storage is done, I can then try for external SDCard using Storage Access Framework coz it's top priority task for me to download and copy the content to sd card. Please help!

prathamApp avatar Jan 05 '18 11:01 prathamApp

Well, the download is in Leecher.java, but that one only eats a java File object and does not care about the underlying storage. On the other hand, I'm not even sure what abstraction the new API provides, if it even gives you a File object or something else.

This is non-trivial, otherwise I would have done it a long time ago :) The file target (in the android version) comes from: DownloadPathPreference.java

tfg13 avatar Jan 05 '18 15:01 tfg13