Search found 567 matches
- Wed Dec 29, 2021 4:51 am
- Forum: Hollywood bugs
- Topic: Bug with Proportional Scaling in RapaGUI 2.0 on Android
- Replies: 13
- Views: 10817
Re: Bug with Proportional Scaling in RapaGUI 2.0 on Android
Revisiting an issue that has been troubling me for a while now... The following code fixes the proportional scaling issue (kind of). But the problem is that it requires a SystemRequest() message to be used. Without the message, the scaling is wrong (too long in Portrait mode and too short in Landsca...
- Sun Sep 19, 2021 4:38 am
- Forum: Hollywood bugs
- Topic: Wrong value for ATTRHEIGHT
- Replies: 5
- Views: 2982
Re: Wrong value for ATTRHEIGHT
Constants such as #ATTRWIDTH and #ATTRHEIGHT have number values assigned to them (0 and 1 respectively). DebugPrint(#ATTRWIDTH, #ATTRHEIGHT) But when you weren't using the constants, ATTRWIDTH and ATTRHEIGHT were taken as variables that had not yet been assigned a value, so they were equal to zero (...
- Sun Sep 19, 2021 12:59 am
- Forum: Hollywood bugs
- Topic: Wrong value for ATTRHEIGHT
- Replies: 5
- Views: 2982
Re: Wrong value for ATTRHEIGHT
Your code is a bit wrong.
Try this instead:
Try this instead:
Code: Select all
DebugPrint(GetAttribute(#DISPLAY, 1, #ATTRWIDTH))
DebugPrint(GetAttribute(#DISPLAY, 1, #ATTRHEIGHT))
- Fri Aug 27, 2021 3:19 am
- Forum: Hollywood bugs
- Topic: Bug with Proportional Scaling in RapaGUI 2.0 on Android
- Replies: 13
- Views: 10817
Re: Bug with Proportional Scaling in RapaGUI 2.0 on Android
I think the problem might be solved by delaying things like moai.get("Main", "Height") and GetAttribute(#DISPLAY, 1, #ATTRSCALEHEIGHT) until after the display has settled on its new attributes. It seems like the numbers are different initially (when first started and right after ...
- Thu Aug 19, 2021 12:14 am
- Forum: Hollywood bugs
- Topic: Bug with Proportional Scaling in RapaGUI 2.0 on Android
- Replies: 13
- Views: 10817
Re: Bug with Proportional Scaling in RapaGUI 2.0 on Android
It probably goes back to the Hollywood 8 version of the Android player.
- Sun Aug 15, 2021 8:40 am
- Forum: Hollywood bugs
- Topic: Bug with Proportional Scaling in RapaGUI 2.0 on Android
- Replies: 13
- Views: 10817
Re: Bug with Proportional Scaling in RapaGUI 2.0 on Android
With the newest RapaGUI (and Hollywood Player for Android), the code that worked before has a couple problems now. I found a workaround for one of the problems by delaying the first scaling using SetTimeout(), though there's probably a better way of handling that. (See code below.) However, the scal...
- Thu Jul 29, 2021 6:59 am
- Forum: RapaGUI
- Topic: RaiseOnError() with RapaGUI on Latest Android Player
- Replies: 9
- Views: 4174
Re: RaiseOnError() with RapaGUI on Latest Android Player
Yes, RunCallback() does work and is better. Thanks for the suggestion!
(I keep forgetting to use that new function.)
(I keep forgetting to use that new function.)
- Sun Jul 25, 2021 7:09 am
- Forum: RapaGUI
- Topic: RaiseOnError() with RapaGUI on Latest Android Player
- Replies: 9
- Views: 4174
Re: RaiseOnError() with RapaGUI on Latest Android Player
If it's a hard one to fix, this might be a good enough work-around: @REQUIRE "RapaGUI" Function p_CustomErrorMessage(msg) SystemRequest("Debug Output", "Code: "..msg.userdata[0].."\nString: "..msg.userdata[1].."\nCommand: "..msg.userdata[2].."\n...
- Thu Jul 22, 2021 6:29 am
- Forum: RapaGUI
- Topic: RaiseOnError() with RapaGUI on Latest Android Player
- Replies: 9
- Views: 4174
Re: RaiseOnError() with RapaGUI on Latest Android Player
This error is still showing up with the latest Android Player. @REQUIRE "RapaGUI" Function p_ErrorHandler(ErrCode, ErrStr$, ErrCmd, ErrLine) SystemRequest("Debug Output", "Code: "..ErrCode.."\nString: "..ErrStr$.."\nCommand: "..ErrCmd.."\nLine: ...
- Tue Apr 27, 2021 10:11 am
- Forum: RapaGUI
- Topic: Progressbar Not Working with Latest Android Player (9.0)
- Replies: 4
- Views: 2393
Re: Progressbar Not Working with Latest Android Player (9.0)
Very good.
Thanks!
Thanks!