Page 1 of 2

NeoAppBuilder Beta Test (Update 15.7.8)

PostPosted: Wed Jul 08, 2015 7:54 pm
by Neosoft Support
An update to the NeoAppBuilder Beta is available for download below:

http://www.neosoftware.com/neoappbuilder.html
(Refresh your browser if you don't see the new version.)

Version 15.7.8 includes the following changes:

 The PlaySound action now works on mobile devices. Note: the loop option does not currently work with Android devices.

 Corrected a problem that prevented dialog box based objects from being activated by touch on mobile devices.

 Form-based Checkboxes now post the correct value when submitted to the server. The value will be either the contents of the “true-value” or “false-value” properties. The Checkbox’s “property-name” and “variable” properties must be defined for this to work.

 The Dropdown object can now be disabled or enabled using the DisableObject/EnabledObject actions.

 Corrected a problem that prevented the align property of certain objects from being set to “top“.

 Added a special/global variable called [NAB.OperatingSystem] which can be either: Android, iOS, WinCE*, Win32NT*, Windows, MacOS, Unix, or Linux. *Note: For some reason, Windows Phone 7 returns “WinCE” and Windows Phone 8 returns “Win32NT”.

 And several other minor fixes and enhancements.

Please report problems, bugs, suggestions, etc. in this forum or via our online Bug Tracker.

Re: NeoAppBuilder Beta Test (Update 15.7.8)

PostPosted: Thu Jul 09, 2015 1:07 am
by PaulTomo
Thanks,

The PlaySound action now works on mobile devices. Note: the loop option does not currently work with Android devices.

 Corrected a problem that prevented dialog box based objects from being activated by touch on mobile devices.

 Form-based Checkboxes now post the correct value when submitted to the server. The value will be either the contents of the “true-value” or “false-value” properties. The Checkbox’s “property-name” and “variable” properties must be defined for this to work.


I have just tested these and can report that the Mobile phone issues listed are now fixed.

There is also a bug now on Focus Object, which when previously used, to say clear the value from a Text Input by pressing a Delete button, now no longer brings up the keyboard on the phone as it has been doing ready to start typing in the Text Input object.


This issue is still there but not a major one.

Thanks Again for the quick fixes as always.

Re: NeoAppBuilder Beta Test (Update 15.7.8)

PostPosted: Thu Jul 09, 2015 8:08 am
by mishem
While

Exits the current While/WhileEx/EndWhile block. Execution continues with the action following EndWhile.


No action WhileEx

.............................

No description for:

Multimedia

IsVarEmpty
ArrayLen
EndJS
Return


...............................
I do not know, is a mistake or not? ...
You can not specify a numeric variable.

jsConfirm "" [1]
jsPrompt "" "" [1]

Re: NeoAppBuilder Beta Test (Update 15.7.8)

PostPosted: Thu Jul 09, 2015 10:14 am
by Neosoft Support
I do not know, is a mistake or not? ...
You can not specify a numeric variable.

jsConfirm "" [1]
jsPrompt "" "" [1]


The requirements for variable names are the same as for JavaScript:

Variable names should be formed from the 26 upper and lower case letters (A .. Z, a .. z), the 10 digits (0 .. 9), and _ (underbar). Avoid use of international characters because they may not read well or be understood everywhere. Names must start with a letter or underscore character.

Re: NeoAppBuilder Beta Test (Update 15.7.8)

PostPosted: Thu Jul 09, 2015 10:15 am
by TinTin
PlaySound is working on iOS however I can't reference a file like before within a variable then call it later.. :-(

Myself and GAEV spent lots of time working a way to do this in a previous thread - I got it working, but with this build it's broken.

A button calls this sub and plays appropriately - [clip] is derived from a Random no between 1-3

If [Clip] === 1
PlaySound "C:\PGM Audio\Round 1\2.mp3" false
Endif

If [Clip] === 2
PlaySound "C:\PGM Audio\Round 2\2-2.mp3" false
Endif

If [Clip] === 3
PlaySound "C:\PGM Audio\Round 3\3-2.mp3" false
Endif

... It worked before.

Re: NeoAppBuilder Beta Test (Update 15.7.8)

PostPosted: Thu Jul 09, 2015 10:22 am
by Neosoft Support
If PlaySound includes a literal path and file name then it should compile and play correctly. If you remove the if statements and just execute the PlaySound actions directly do they work?

Re: NeoAppBuilder Beta Test (Update 15.7.8)

PostPosted: Fri Jul 10, 2015 1:06 am
by TinTin
Dave,

It seems there's an issue with the delay statement..

Anything that's got delay in (even on Chrome) it's not liking it.

Re: NeoAppBuilder Beta Test (Update 15.7.8)

PostPosted: Fri Jul 10, 2015 9:55 am
by Neosoft Support
It seems there's an issue with the delay statement..
Anything that's got delay in (even on Chrome) it's not liking it.


Can you be more specific? What do you mean by Chrome doesn't like it?

As we've discussed here before, JavaScript does not provide any type of true delay command. The delay action in the current version of NeoAppBuilder uses a simple loop which looks like this:

function Delay(ms) {
ms += new Date().getTime();
while (new Date().getTime() < ms){};
};

This will work for some things like:

Delay 1500
GotoNextPage

But it doesn't work well for more complicated scripts or things that require page redraws because JavaScript tends to execute everything asynchronously. In JavaScript the solution is to use a timer with a callback function which is more complicated than were used to with NeoBook. Hopefully, we can come up with an easy way to accomplish this in NeoAppBuilder.

Re: NeoAppBuilder Beta Test (Update 15.7.8)

PostPosted: Sat Jul 11, 2015 4:43 am
by PaulTomo
Another issue to add to the list.

Just noticed that the Enable/Disable Object is not working with "Checkbox or RadioButton", it's fine on NeoAppBuilder debugger but fails on a smartphone app and in the 3 web browsers.

Thanks.

Re: NeoAppBuilder Beta Test (Update 15.7.8)

PostPosted: Mon Jul 13, 2015 8:33 am
by PaulTomo
The Dropdown box no longer closes back up as it should when an item in the list is selected. The item is highlighted, variable if associated changes but you have to click elsewhere on the phones screen to get the list to close up.

Re: NeoAppBuilder Beta Test (Update 15.7.8)

PostPosted: Mon Jul 13, 2015 9:33 am
by Neosoft Support
The Dropdown box no longer closes back up as it should when an item in the list is selected.


It worked that way in past versions?

Re: NeoAppBuilder Beta Test (Update 15.7.8)

PostPosted: Tue Jul 14, 2015 9:01 am
by PaulTomo
The Dropdown box no longer closes back up as it should when an item in the list is selected.

It worked that way in past versions?

NeoSoft Support


It was defiantly fine in other beta versions and working as it currently does in debugger and web browsers which is correct for a drop down box. e.g. when the dropdown is opened and an item picked, the selected item is activated and the list then automatically closes. It's only on the Android phone app that the dropdown list remains extended.

I just checked on a previously complied app from beta in May and it works perfectly on the phone.

Re: NeoAppBuilder Beta Test (Update 15.7.8)

PostPosted: Tue Jul 14, 2015 10:30 am
by Neosoft Support
I just checked on a previously complied app from beta in May and it works perfectly on the phone.


Thanks for checking on that. I will make a note to look into this before the next update.

Re: NeoAppBuilder Beta Test (Update 15.7.8)

PostPosted: Wed Aug 05, 2015 6:39 am
by TinTin
Dave,

Any news on an update? I'm just waiting on a timer call back option really as everything else is working pretty well..

Also if possible It would be good if we could have a callback from end of audio file playback (at runtime as the audio file is dynamically loaded and
not possible to get duration before runtime)

Cheers

Re: NeoAppBuilder Beta Test (Update 15.7.8)

PostPosted: Wed Aug 05, 2015 11:35 am
by Neosoft Support
Another update is planned for next week.