Android apk and drawers

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

Re: Android apk and drawers

Post 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.

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

Re: Android apk and drawers

Post 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?

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

Re: Android apk and drawers

Post by airsoftsoftwair »

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

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

Re: Android apk and drawers

Post by g0blin »

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

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

Re: Android apk and drawers

Post 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

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

Re: Android apk and drawers

Post by g0blin »

This is awesome news, Andreas.
Thank you very, very much!

Post Reply