HyperNext Android Creator

Android Devices => Kindle Fire => Topic started by: icarah on January 17, 2013, 11:02:26 PM

Title: Button Issues
Post by: icarah on January 17, 2013, 11:02:26 PM
I've been using HAC for a few days and noticed a couple of anomalies as it concerns button functions:

1. Programming a button to be invisible with ButtonSetView(button,0) leaves an artifact of itself in the form of its 3-D bevel. It does this on Kindle, Nexus and the emulator. It does not do this in the HAC runtime. I played around with the ButtonSetBevel function but it does not affect the appearance of the artifact. I do find that GotoCard (the same card) refreshes the card and the artifacts are gone but it makes the program slower. In the meantime, I am hiding the artifacts behind a canvas of the same card color.

2. ButtonSetMode(button,0) does not disable a button. Even though ButtonModeFN indicates that it's disabled, the button still functions and is not grayed out. It works in the HAC runtime but not in the emulator or an android device.

Are these known bugs or am I missing something ? I'm running JDK V6 and SDK 2.3.1 V9 with my primary target being Kindle Fire w/latest update from Amazon.

Any info you can provide is appreciated, Thanks - Ian

Title: Re: Button Issues
Post by: Malkom on January 18, 2013, 08:48:39 AM
I've been using HAC for a few days and noticed a couple of anomalies as it concerns button functions:

1. Programming a button to be invisible with ButtonSetView(button,0) leaves an artifact of itself in the form of its 3-D bevel. It does this on Kindle, Nexus and the emulator. It does not do this in the HAC runtime. I played around with the ButtonSetBevel function but it does not affect the appearance of the artifact. I do find that GotoCard (the same card) refreshes the card and the artifacts are gone but it makes the program slower. In the meantime, I am hiding the artifacts behind a canvas of the same card color.

2. ButtonSetMode(button,0) does not disable a button. Even though ButtonModeFN indicates that it's disabled, the button still functions and is not grayed out. It works in the HAC runtime but not in the emulator or an android device.

Are these known bugs or am I missing something ? I'm running JDK V6 and SDK 2.3.1 V9 with my primary target being Kindle Fire w/latest update from Amazon.

Any info you can provide is appreciated, Thanks - Ian

Hi Ian

Thank you for finding these button bugs.

I have just made a buttons project and confirmed on an Android tablet that
 - the disable does not work.
 - the hide command does leave a trace.

These used to work but were probably broken a few builds back when the screen refresh and controls were overhauled.

I'll check the other controls for similar problems and the bug fixes should be done for v1.17.

Malkom
 

Title: Re: Button Issues
Post by: icarah on January 18, 2013, 09:50:53 PM
Malkom,

Thanks for the quick reply. I'm looking forward to the next release of HAC.

The HAC environment reminds me of MSFT's VB. Very intuitive and easy to use yet powerful. HAC contains enough commands/controls that make for very functional apps in a rapid fashion. I like it, especially the UDP commands.

You will be seeing my order for a full license shortly. Thanks for a cool product.

Regards,

Ian