Page 1 of 1
applet not working correctly
Posted: Thu Mar 08, 2018 11:45 am
by Redlion
Hi,
Since the Hollywood player has been updated my app does not run properly on my android phone.
All the boxes that should be solid colours are just outlines. I think it has something to do with
SetFillStyle()
I recompiled the applet in Hollywood 7.1 but that did not make any difference.
The app run fine as an exe in windows 10 and on AmigaOS 4..1
Is anyone else having this problem.
Regards
Leo
Re: applet not working correctly
Posted: Thu Mar 08, 2018 2:56 pm
by airsoftsoftwair
Can you post a minimal code sample?
Re: applet not working correctly
Posted: Thu Mar 08, 2018 11:51 pm
by Redlion
Hi,
This is a minimal bit of code that displays the problem, I first noticed it about the same time as you released the new HW7 Player.
Code: Select all
@DISPLAY 1, {Width=1280, Height=800, Color=$000000, Title=" SQUARES by Leo den Hollander"}
ColourTable = { $FFFFFF, $FF4C40, $EDEA1D, $3FE228, $1D32FD, $2F2F2F, $02F8EF, $2288E8, $048C15, $CA22D7, $FE7765, $FFFFFF }
Dim Squares[12][7]
Dim Redo[12][7]
Function Splash() ; Splash Screen buttons ---------------------------------------------------------
SetFont(#SANS,140)
SetFontStyle(#ANTIALIAS)
SetFontColor(#RED)
TextOut(325,70," SQUARES ")
SetFont(#SANS, 28)
SetFontStyle(#ANTIALIAS)
SetFontColor(RGB(0,255,0))
TextOut(525,200," by Leo den Hollander ")
SetFont(#SANS, 18)
SetFontStyle(#ANTIALIAS)
SetFontColor(#WHITE)
TextOut(565,730," Test Hollywood 7.1 ")
SetFont(#SANS, 50)
SetFontStyle(#ANTIALIAS)
SetFontColor(#BLACK)
MakeButton(1,#SIMPLEBUTTON,550,212,200,100,{OnMouseUp = Start})
SetFillStyle(#FILLCOLOR)
Box(550,256,200,100,#YELLOW,{RoundLevel = 25})
SetFillStyle(#FILLNONE)
TextOut(590,280," EASY ")
MakeButton(2,#SIMPLEBUTTON,550,395,200,100,{OnMouseUp = Start})
SetFillStyle(#FILLCOLOR)
Box(550,415,200,100,#YELLOW,{RoundLevel = 25})
SetFillStyle(#FILLNONE)
TextOut(585,439," HARD ")
MakeButton(3,#SIMPLEBUTTON,550,577,200,100,{OnMouseUp = Start})
SetFillStyle(#FILLCOLOR)
Box(550,572,200,100,#YELLOW,{RoundLevel = 25})
SetFillStyle(#FILLNONE)
TextOut(558,601," CANCEL ")
EndFunction
Function Start(msg) ; Splash Screen ---------------------------------------------------------------
Switch msg.action
Case "OnMouseUp":
If msg.id = 1
SetFillStyle(#FILLCOLOR)
Box(5,5,1200,795,$000000)
EndIf
If msg.id = 2
SetFillStyle(#FILLCOLOR)
Box(5,5,1200,795,$000000)
EndIf
If msg.id = 3
End
EndIf
EndSwitch
EndFunction
; Escape ******************************************************************************************
EscapeQuit(True)
; Main Program Loop *******************************************************************************
Splash()
Repeat
WaitEvent
Forever
Everything else works except the boxes.
Cheers
Leo
Re: applet not working correctly
Posted: Sun Mar 11, 2018 10:10 pm
by airsoftsoftwair
Right, I can confirm this. Will be fixed.
Re: applet not working correctly
Posted: Tue Apr 10, 2018 9:14 pm
by airsoftsoftwair
Code: Select all
- Fix [Android/64-bit]: Polygons were always drawn in outline mode even when the filling mode was set to #FILLCOLOR
Re: applet not working correctly
Posted: Wed Apr 11, 2018 1:24 pm
by Redlion
@ airsoftsoftwair
HI,
How do I apply this fix, do I have to download the Hollywood player again, or do I have to wait for HW7.2 to come out?
Cheers
Leo
Re: applet not working correctly
Posted: Fri Apr 13, 2018 5:28 pm
by airsoftsoftwair
You could use the 32-bit version of the Hollywood Player 7.1 because that is not affected. It's a 64-bit issue.
Re: applet not working correctly
Posted: Tue Apr 17, 2018 5:04 am
by Redlion
@ airsoftsoftwair
HI,
I am trying to run the applet on an android phone, how do I select the 32 bit version for android.
Cheers
Leo
Re: applet not working correctly
Posted: Wed Apr 18, 2018 7:11 pm
by airsoftsoftwair
Oh, sorry, this doesn't seem to be possible on Google Play. But no worries, I have just uploaded a fixed version to Google Play. This should be available in a few hours. Check the about screen. If it shows 18th April, 2018 as the build date you have the fixed version..
Re: applet not working correctly
Posted: Mon Apr 23, 2018 12:37 am
by Redlion
@ airsoftsoftwair
Hi,
All seems to be working on my android phone now.
Thanks
leo