Setting Slider.min doesn't seem to work on Android (Hollywood Player 10.0).
It also complains about MouseLeft notifications.
The History says MouseLeft/Right/Middle/Move was added in v2.2 of RapaGUI on 24-Aug-24.
Hollywood Player says RapaGUI (which is built in Androids HollywoodPlayer) is v2.2 but Buid Date is 22.01.22
Is v2.2 an older v2.2 than on Amiga systems?
Slider.min is always 0 on Android
Re: Slider.min is always 0 on Android
there is a newer version 2023 at least, have you download it form hollywood-mal.com downloads section ?
Christos
Re: Slider.min is always 0 on Android
yes, I re-download it to be sure.
Re: Slider.min is always 0 on Android
where do you this date, in player top right three dot "about ?
mine says 25.02.23, is this -> https://www.hollywood-mal.com/download/ ... -arm64.apk , what you download?
do you a test applet to try ?
mine says 25.02.23, is this -> https://www.hollywood-mal.com/download/ ... -arm64.apk , what you download?
do you a test applet to try ?
Christos
Re: Slider.min is always 0 on Android
Ok, the Hollywood Player says 2023 but in my applet when I open About RapaGUI it says 2022!?
Why is that?
Why is that?
Re: Slider.min is always 0 on Android
Here is a example code:
Compiled as Applet with this command:
Code: Select all
@REQUIRE "RapaGUI"
@APPTITLE "RapaSlider"
/* Handles all incoming events */
Function p_EventFunc(msg)
Switch msg.action
Case "RapaGUI":
Switch msg.id
Case "winMain":
Switch msg.attribute
Case "CloseRequest":
moai.set("winMain", "open", false);
End(0)
EndSwitch
Case "sliMaxCols":
moai.set("txt", "Text", "MaxCols = "..msg.TriggerValue..", min/max = "..moai.get(msg.id, "min").."/"..moai.get(msg.id, "max"))
Case "sliMaxRecent":
moai.set("txt", "Text", "MaxRecent = "..msg.TriggerValue..", min/max = "..moai.get(msg.id, "min").."/"..moai.get(msg.id, "max"))
EndSwitch
EndSwitch
EndFunction
InstallEventHandler({RapaGUI = p_EventFunc})
moai.CreateApp([[
<?xml version="1.0" encoding="iso-8859-1"?>
<application id="app">
<Window id="winMain" title="RapaTest" notify="closeRequest">
<VGroup id="grpMain">
<VGroup Frame="True" FrameTitle="GUI">
<ColGroup Columns="2" Frame="True">
<Label>Columns in _VideoList:</Label>
<Slider id="sliMaxCols" min="3" max="10" level="5" notify="level"/>
<Label>Ma_x. recent searches:</Label>
<Slider id="sliMaxRecent" min="3" max="20" level="10" notify="level"/>
</ColGroup>
<Text id="txt"/>
</VGroup>
</VGroup>
</Window>
</application>
]])
EscapeQuit(true)
Repeat WaitEvent() Forever
Code: Select all
h:System/Hollywood -compile RapaSlider.hwa -exetype "Applet" -compress RapaSlider.hws
Re: Slider.min is always 0 on Android
works here, i slide slider and number in slider changes , also number in textfield "maxcols" etc react following
is something else i miss ?
i create this applet (vai windows thought) -> https://limewire.com/d/RbiVz#rQC2Wqx8XF
you can try also "-exectype android" ..
do you have hollywood 10 or older ?
is something else i miss ?
i create this applet (vai windows thought) -> https://limewire.com/d/RbiVz#rQC2Wqx8XF
you can try also "-exectype android" ..
do you have hollywood 10 or older ?
Christos
Re: Slider.min is always 0 on Android
The problem is that I set "min" attribute of the sliders to 3 when creating the GUI.
But when changing the current value of the slider it allows me to change it 0!
Could you only change the min value to 3?
Also getting the min attribute says 0.
I have Hollywood v9.
With your slider.hwa I also can change the min value to 0 on my android phone with HollywoodPlayer v10 although I have set it to 3 in the XML Definition.
But when changing the current value of the slider it allows me to change it 0!
Could you only change the min value to 3?
Also getting the min attribute says 0.
I have Hollywood v9.
With your slider.hwa I also can change the min value to 0 on my android phone with HollywoodPlayer v10 although I have set it to 3 in the XML Definition.
- airsoftsoftwair
- Posts: 5830
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Slider.min is always 0 on Android
Looks like this is currently unimplemented on Android. Actually, the code is there but it's commented out because setting and getting minimum slider levels is a feature that was introduced in Android 8 and RapaGUI is designed to also work on older Android versions. I'll try to activate it for newer Android versions in the next release.