applet not working correctly
applet not working correctly
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
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
----------------------------------------------------------------------------------------
Redlion
Sam460 Lite
A4000 A3000 A2000 A1200 A1000 A600 A500 CD32
Redlion
Sam460 Lite
A4000 A3000 A2000 A1200 A1000 A600 A500 CD32
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: applet not working correctly
Can you post a minimal code sample?
Re: applet not working correctly
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.
Everything else works except the boxes.
Cheers
Leo
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
Cheers
Leo
----------------------------------------------------------------------------------------
Redlion
Sam460 Lite
A4000 A3000 A2000 A1200 A1000 A600 A500 CD32
Redlion
Sam460 Lite
A4000 A3000 A2000 A1200 A1000 A600 A500 CD32
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: applet not working correctly
Right, I can confirm this. Will be fixed.
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: applet not working correctly
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
@ 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
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
----------------------------------------------------------------------------------------
Redlion
Sam460 Lite
A4000 A3000 A2000 A1200 A1000 A600 A500 CD32
Redlion
Sam460 Lite
A4000 A3000 A2000 A1200 A1000 A600 A500 CD32
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: applet not working correctly
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
@ 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
HI,
I am trying to run the applet on an android phone, how do I select the 32 bit version for android.
Cheers
Leo
----------------------------------------------------------------------------------------
Redlion
Sam460 Lite
A4000 A3000 A2000 A1200 A1000 A600 A500 CD32
Redlion
Sam460 Lite
A4000 A3000 A2000 A1200 A1000 A600 A500 CD32
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: applet not working correctly
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
@ airsoftsoftwair
Hi,
All seems to be working on my android phone now.
Thanks
leo
Hi,
All seems to be working on my android phone now.
Thanks
leo
----------------------------------------------------------------------------------------
Redlion
Sam460 Lite
A4000 A3000 A2000 A1200 A1000 A600 A500 CD32
Redlion
Sam460 Lite
A4000 A3000 A2000 A1200 A1000 A600 A500 CD32