Android Question Best way to upload and download files to internet? Simple example?

RB Smissaert

Well-Known Member
Licensed User
Longtime User
Have a large amount of data that would be too much to go into the .apk file.
What would be the best way to upload this data (ideally from the phone) and then download it and process it?
The data will be in a simple .csv or .txt file.
Once I have the data in File.DirRootExternal I can process the .csv or .txt file and move the data to SQLite.
Did quite a bit of searching the forum, but not clear to me what the best way would be.

RBS
 

RB Smissaert

Well-Known Member
Licensed User
Longtime User
Another thing is that adding some 100 Mb to assets can make the IDE a bit iffy, eg. temporary freezes. I only put them in to try something out or if I need to make a new .apk.

RBS
 
Upvote 0

emexes

Expert
Licensed User
Longtime User
Another thing is that adding some 100 Mb to assets can make the IDE a bit iffy, eg. temporary freezes.

I did give a heads-up about that but it seems our British tendency towards understatement (slow, bit iffy) may have brought us unstuck.

The main problem I noticed with a big file in the Assets folder, was that the automatic regular timed backup would slow the computer down whilst it compressed the big file. It was bearable when the file was pre-shrunk.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…