Android apk and drawers

Please post anything related to the Hollywood APK Compiler here
User avatar
airsoftsoftwair
Posts: 2558
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: Android apk and drawers

Post by airsoftsoftwair » Thu Aug 09, 2018 9:24 pm

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.

g0blin
Posts: 43
Joined: Tue Oct 04, 2011 9:06 am

Re: Android apk and drawers

Post by g0blin » Thu Aug 09, 2018 10:29 pm

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?

User avatar
airsoftsoftwair
Posts: 2558
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: Android apk and drawers

Post by airsoftsoftwair » Fri Aug 10, 2018 3:10 pm

DownloadFile() cannot unpack archives, but you could use the ZIP plugin for that.

g0blin
Posts: 43
Joined: Tue Oct 04, 2011 9:06 am

Re: Android apk and drawers

Post by g0blin » Fri Aug 10, 2018 6:54 pm

Thanks a lot!
Time for me to go back and code some more.
Best regards

Post Reply