Android RapaGUI Widgets Demo, Hollywood Object

Discuss GUI programming with the RapaGUI plugin here
Post Reply
PEB
Posts: 568
Joined: Sun Feb 21, 2010 1:28 am

Android RapaGUI Widgets Demo, Hollywood Object

Post by PEB »

I'm running the Widgets Demo on the new RapaGUI (2.0) on Android. When I select the Hollywood demo, the drawing area appears, but it doesn't respond to any screen touches. Does the code (either the .xml or .hws) need to be modified in some way to make this work?
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Android RapaGUI Widgets Demo, Hollywood Object

Post by airsoftsoftwair »

What exactly do you mean by "but it doesn't respond to any screen touches"? If the drawing appears it is responding to screen touches, isn't it or what do you mean?
PEB
Posts: 568
Joined: Sun Feb 21, 2010 1:28 am

Re: Android RapaGUI Widgets Demo, Hollywood Object

Post by PEB »

The drawing does not appear on my Android device. Anyone else?
PEB
Posts: 568
Joined: Sun Feb 21, 2010 1:28 am

Re: Android RapaGUI Widgets Demo, Hollywood Object

Post by PEB »

The demo included in this archive http://www.softwarefailure.de/tmp/examples.zip does work (the drawing appears).
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Android RapaGUI Widgets Demo, Hollywood Object

Post by airsoftsoftwair »

Can you upload your applet, i.e. the one that doesn't work?
PEB
Posts: 568
Joined: Sun Feb 21, 2010 1:28 am

Re: Android RapaGUI Widgets Demo, Hollywood Object

Post by PEB »

I just e-mailed it to you.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Android RapaGUI Widgets Demo, Hollywood Object

Post by airsoftsoftwair »

Ok, this looks like a generic issue not related to Android. I'll see what's causing this.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Android RapaGUI Widgets Demo, Hollywood Object

Post by airsoftsoftwair »

Ok, I think this is the same issue as this one:
Ok, so that's a feature, not a bug, the desktop version behaves the same. As soon as a Hollywood display is open, Hollywood will try to get the mouse positions from it instead of from the child. This is why you won't be able to obtain mouse positions from a display embedded inside a GUI if the parent Hollywood display is open as well. So as a rule of thumb, just keep the parent Hollywood display hidden and there won't be any problems.
Post Reply