Page 2 of 2

Re: Android apk and drawers

Posted: Thu Aug 09, 2018 9:24 pm
by airsoftsoftwair
Make your app download the missing files using DownloadFile() and store them in the external storage. You can get the external storage dir using GetSystemInfo(). The directory returned in "ExternalStorage" equals the dir returned by the getExternalFileDirs() Android API.

Re: Android apk and drawers

Posted: Thu Aug 09, 2018 10:29 pm
by g0blin
Ok. I just skimmed through the docs you pointed out, but if I understand correctly the DownloadFile() command can download and inflate a compressed archive. This archive can hold all the graphics, from which they can be accessed after locating them with GetSystemInfo(). Is this correct?

Re: Android apk and drawers

Posted: Fri Aug 10, 2018 3:10 pm
by airsoftsoftwair
DownloadFile() cannot unpack archives, but you could use the ZIP plugin for that.

Re: Android apk and drawers

Posted: Fri Aug 10, 2018 6:54 pm
by g0blin
Thanks a lot!
Time for me to go back and code some more.
Best regards

Re: Android apk and drawers

Posted: Fri Mar 01, 2019 9:14 pm
by airsoftsoftwair

Code: Select all

- New: APK Compiler now allows you to include whole directories as assets; this is very convenient
  when dealing with lots of files; you can access assets in those subdirectories with GetAsset()
  as usual

Re: Android apk and drawers

Posted: Sat Mar 02, 2019 10:40 am
by g0blin
This is awesome news, Andreas.
Thank you very, very much!