Source language: Translate to:

NeoAppBuilder Beta Test (Update 15.7.8)

General questions about NeoAppBuilder - our rapid application development tool for building HTML5, web and mobile apps.

Moderator: Neosoft Support

NeoAppBuilder Beta Test (Update 15.7.8)

Postby Neosoft Support » Wed Jul 08, 2015 7:54 pm

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.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Re: NeoAppBuilder Beta Test (Update 15.7.8)

Postby PaulTomo » Thu Jul 09, 2015 1:07 am

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.
User avatar
PaulTomo
 
Posts: 62
Joined: Tue Apr 28, 2009 1:15 am
Location: UK

Re: NeoAppBuilder Beta Test (Update 15.7.8)

Postby mishem » Thu Jul 09, 2015 8:08 am

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]
mishem
 
Posts: 574
Joined: Mon Oct 08, 2012 1:51 pm

Re: NeoAppBuilder Beta Test (Update 15.7.8)

Postby Neosoft Support » Thu Jul 09, 2015 10:14 am

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.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Re: NeoAppBuilder Beta Test (Update 15.7.8)

Postby TinTin » Thu Jul 09, 2015 10:15 am

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.
TinTin
 
Posts: 162
Joined: Sun Dec 06, 2009 4:03 am
Location: UK

Re: NeoAppBuilder Beta Test (Update 15.7.8)

Postby Neosoft Support » Thu Jul 09, 2015 10:22 am

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?
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Re: NeoAppBuilder Beta Test (Update 15.7.8)

Postby TinTin » Fri Jul 10, 2015 1:06 am

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.
TinTin
 
Posts: 162
Joined: Sun Dec 06, 2009 4:03 am
Location: UK

Re: NeoAppBuilder Beta Test (Update 15.7.8)

Postby Neosoft Support » Fri Jul 10, 2015 9:55 am

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.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Re: NeoAppBuilder Beta Test (Update 15.7.8)

Postby PaulTomo » Sat Jul 11, 2015 4:43 am

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.
User avatar
PaulTomo
 
Posts: 62
Joined: Tue Apr 28, 2009 1:15 am
Location: UK

Re: NeoAppBuilder Beta Test (Update 15.7.8)

Postby PaulTomo » Mon Jul 13, 2015 8:33 am

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.
User avatar
PaulTomo
 
Posts: 62
Joined: Tue Apr 28, 2009 1:15 am
Location: UK

Re: NeoAppBuilder Beta Test (Update 15.7.8)

Postby Neosoft Support » Mon Jul 13, 2015 9:33 am

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
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Re: NeoAppBuilder Beta Test (Update 15.7.8)

Postby PaulTomo » Tue Jul 14, 2015 9:01 am

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.
User avatar
PaulTomo
 
Posts: 62
Joined: Tue Apr 28, 2009 1:15 am
Location: UK

Re: NeoAppBuilder Beta Test (Update 15.7.8)

Postby Neosoft Support » Tue Jul 14, 2015 10:30 am

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.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Re: NeoAppBuilder Beta Test (Update 15.7.8)

Postby TinTin » Wed Aug 05, 2015 6:39 am

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
TinTin
 
Posts: 162
Joined: Sun Dec 06, 2009 4:03 am
Location: UK

Re: NeoAppBuilder Beta Test (Update 15.7.8)

Postby Neosoft Support » Wed Aug 05, 2015 11:35 am

Another update is planned for next week.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Next

Return to General NeoAppBuilder Discussion

Who is online

Users browsing this forum: No registered users and 1 guest