Page 1 of 2

Hollywood APK Compiler 3.3 and Remedios 1.1 released

Posted: Mon Apr 05, 2021 11:54 am
by admin
Airsoft Softwair, the hardest working men in code business, are proud to announce the immediate availability of Hollywood APK Compiler 3.3 and Remedios 1.1. The Hollywood APK Compiler is an add-on for Hollywood that allows you to compile your Hollywood scripts into stand-alone APKs for Android, ready to be distributed via the Play Store! Remedios does the same for iOS, i.e. it compiles your Hollywood scripts into app bundles ready to be run on iOS devices like the iPhone or iPad. The Hollywood APK Compiler requires an x64 Windows system and Remedios requires a macOS system.

The major new feature in Hollywood APK Compiler 3.3 and Remedios 1.1 is support for Hollywood 9. Both programs support the full Hollywood 9.0 command set and runtime now. Furthermore, Remedios 1.1 adds support for Xcode 12 and Hollywood APK Compiler 3.3 adds support for Android Studio 4.1.

The updates are available free of charge for all existing customers and can be downloaded from the restricted download area. Note, however, that both programs require Hollywood 9 now. If you don't have the Hollywood APK Compiler or Remedios yet, please click here to place your order.

This release was brought to you by Airsoft Softwair - the hardest working men in code business.

Re: Hollywood APK Compiler 3.3 and Remedios 1.1 released

Posted: Mon Apr 05, 2021 1:05 pm
by msu
Free update? :shock:
Wow thanks! :D

Re: Hollywood APK Compiler 3.3 and Remedios 1.1 released

Posted: Mon Apr 05, 2021 7:06 pm
by xabierpayet
First congratulations and thank you for the new update.

I can not write text files to the android device with the new apk builder, i need to use another permisions instruction? Or still the same?

Re: Hollywood APK Compiler 3.3 and Remedios 1.1 released

Posted: Mon Apr 05, 2021 11:41 pm
by airsoftsoftwair
Where do you want to write text files too? Can you post an MCVE?

Re: Hollywood APK Compiler 3.3 and Remedios 1.1 released

Posted: Mon Apr 05, 2021 11:49 pm
by xabierpayet
Using your snippet for example

Code: Select all

r = GetSystemInfo()
If PermissionRequest(#PERMREQ_WRITEEXTERNAL)
	StringToFile("Hello World", FullPath(GetSystemInfo().InternalStorage, "test.txt"))
Else
	End	
EndIf
i have an error under android 9

Re: Hollywood APK Compiler 3.3 and Remedios 1.1 released

Posted: Wed Apr 07, 2021 10:15 am
by amyren
In "PermissionRequest(#PERMREQ_WRITEEXTERNAL)" it checks for permision to write to external storage, and in the following line the program try to store the file in the internal storage.
Did it work under Hollywood 8.0 / APK Compiler 3.2?

I think for your example to work it should be #PERMREQ_WRITEINTERNAL
Given if that is possible, it is not listed in the example for PermissionRequest()

Re: Hollywood APK Compiler 3.3 and Remedios 1.1 released

Posted: Wed Apr 07, 2021 11:01 am
by amyren
I got another issue.

In my script, line 104:

Code: Select all

e = hurl.Easy()
I get this error message when trying to run it (android 9.0/Arm8):
Failed initialization!(2)
File: script.hws
(current line: 104 - In function: Easy)

Using the hwa with hollywood player, and it does work without this error.
Also I have created applet with HW8, and compiled it with apk compiler 3.2, and it works.
Then tried creating the applet with HW8 and compile it with compiler 3.3, and it fails.
For both compiler 3.2 and 3.2 I have hurl.hwp checked in the plugins.

Re: Hollywood APK Compiler 3.3 and Remedios 1.1 released

Posted: Thu Apr 08, 2021 10:14 pm
by amyren
I just had another program not working properly with compiler 3.3
It is a game that uses hurl and downloads a highscore list from a https adress.
I get a network error message: Connection refused, In function DownloadFile.
If I run the applet with HollyWood player in android, it works well, and also if I compile with version 3.2 it works.

Is there a problem with the hurl plugin and compiler 3.3?

Re: Hollywood APK Compiler 3.3 and Remedios 1.1 released

Posted: Fri Apr 09, 2021 4:53 pm
by airsoftsoftwair
amyren wrote: Thu Apr 08, 2021 10:14 pm Is there a problem with the hurl plugin and compiler 3.3?
Actually, both your problem with hURL and Xabier's problem with writing to the internal storage were caused by the same bug. This is fixed now. There'll be an APK Compiler update shortly. Thanks for reporting!
amyren wrote: Wed Apr 07, 2021 10:15 am I think for your example to work it should be #PERMREQ_WRITEINTERNAL
Given if that is possible, it is not listed in the example for PermissionRequest()
It's not needed. You don't need to ask for permission to write to the internal storage because it is, um, internal :)

Re: Hollywood APK Compiler 3.3 and Remedios 1.1 released

Posted: Tue Apr 13, 2021 1:01 pm
by airsoftsoftwair
Hollywood APK Compiler 3.4 is now available in the restricted download section and fixes these issues.