AppStudio 5.0.16 released!

AppStudio 5.0.16 is now available. It includes a number of fixes and enhancements.

  1. Controls: RadioButton – fixes to iconPos and style.
  2. Design Screen: Crash closing and opening contexts fixed.
  3. IDE: Fix background images in IE11.
  4. IDE: Fix background images in style headers.
  5. MakeEXE: Fix crash at startup of EXE apps on some systems.
  6. Runtime: Fix problem in ChangeForm slide.
  7. Samples: New JSModeler sample. (Thanks, Adrian!)
  8. Translator: Fix false negative on x = Array()

Tip: It’s worthwhile to uninstall the previous version. If you’re on Windows, delete c:\Program Files\NSB AppStudio to get a completely clean install.

Posted in news | Comments Off on AppStudio 5.0.16 released!

EXE Apps: Making system calls

When we came up with our implementation of EXE files, we realized it would be great if there was a mechanism for making system calls. Let’s see how this is done.
Continue reading

Posted in tips | Comments Off on EXE Apps: Making system calls

AppStudio 5.0.15 released!

AppStudio 5.0.15 is now available. It includes a number of fixes and enhancements.

  1. Controls: Line bounds are now grouped.
  2. Controls: RadioButton width is now in the right place in the Property Window.
  3. Forms: jQuery Mobile theme can now be set on a form.
  4. Localization: Files updated. Indonesian is now complete.
  5. MakeEXE: Better messages and wait cursor.
  6. MakeEXE: Debug window no longer appears.
  7. MakeEXE: Windows Shell commands can now be executed.
  8. Samples: Possible error fixed when opening samples picker.

Tip: It’s worthwhile to uninstall the previous version. If you’re on Windows, delete c:\Program Files\NSB AppStudio to get a completely clean install.

Posted in Uncategorized | Comments Off on AppStudio 5.0.15 released!

AppStudio 5.0.14 released

AppStudio 5.0.14 is now available. It includes a number of fixes and enhancements.

  1. Code Window: Don’t case correct “parse”
  2. Controls: Add corner property to TextArea, TextBox.
  3. Controls: Allow multiline style properties
  4. Controls: Eliminate default text-shadow on TextArea, TextBox
  5. Controls: Enable theme support for TextArea, TextBox.
  6. Controls: Make Container Responsive Design aware.
  7. Controls: Redo how TextBox is created. Textbox_wrapper is gone.
  8. Controls: RadioButton horizontal now works inside a Container.
  9. MakeEXE: return error if evalPython fails.
  10. Samples: Add Globalization plugin to PhoneGapAPI sample.
  11. Samples: Add some folder descriptions.
  12. Translator: Fix a false negative.
  13. Translator: Fix bad translate of ’emptyData’

Tip: It’s worthwhile to uninstall the previous version. If you’re on Windows, delete c:\Program Files\NSB AppStudio to get a completely clean install.

Posted in news | Comments Off on AppStudio 5.0.14 released

Some thoughts on hosting services…

This is a guest post by long term NS BASIC user, Lee Church. He nails the reality of hosting services. When you are ready to deploy your app to the world, you’ll need one.

Some thoughts about hosting services and errors:

  1. The barrier to entry to create a new business and call it a hosting service is under $100.
  2. With the proliferation of services like AWS (Amazon Web Services) you need only one PC on your desk to manage the hosting.
  3. You can hire some guy in India to “manage” the “service” for $10 per hour.
  4. Web hosting is like so much in the computer business: 99% of the “stuff” is automatic and handled by software, but the remaining 1% is where experience and knowledge pay off. You don’t get much experience and knowledge from the $10 per hour guy.
  5. The best defense is always “It’s the other guy’s fault”.

This is not a recipe for quality and good service.

If you’re new to this environment, understand that the hosting site is a critical part of the process and your app. The best app in the world will fail miserably on a hosting site not set up properly. If you are not familiar with Web issues and servers, find a friend or consultant to help. You cannot take the hosting site’s response to problems at face value.

Got a hosting service that has worked well for you? Let us know, and we’ll set up a list here.

Hosting Services

  • http://www.lunarpages.com: “They are reasonable and very helpful whenever I have had a problem.” — Helen Sandoz
  • Pair.com: Provides fully configured servers starting at $5.95/month.
  • tsohost.com: I’ve been using www.tsohost.co.uk for years and they have excellent support and very good value packages starting from £15 per year! — Roger Mepham

blag

Posted in tips | Comments Off on Some thoughts on hosting services…

Responsive Design: Centering a button vertically

Vertical and horizontal centering is hard. Here, from CommitStrip.com:

Here’s a good resource with suggestions on vertical and horizontal centering:
https://css-tricks.com/centering-css-complete-guide/

Let’s work through an example. Continue reading

Posted in tips | Comments Off on Responsive Design: Centering a button vertically

AppStudio 5.0.13 released.

AppStudio 5.0.13 is now available. It includes a number of fixes and new stuff.

  1. Controls: Style and Class properties should work for all controls.
  2. Controls: Containers cannot be nested.
  3. Controls: Grid.addRows(), addCols() add one each if no arg.
  4. Code Window: Do not capitalize style.
  5. Setup: Get Info for Windows now shows all data.
  6. Sample: Fixes to Background, Sprite, LabRotation
  7. IDE: Problem opening projects with code files fixed. (like upload.nsx)
  8. IDE: Projects cannot be saved with illegal file names.
  9. MakeEXE: New windowStyle property.
  10. MakeEXE: New EXE.execPython() function.
  11. MakeEXE: new execPython sample.
  12. Properties Windows: return takes you to the next property.
  13. Docs: Locale files updated.

Tip: It’s worthwhile to uninstall the previous version. If you’re on Windows, delete c:\Program Files\NSB AppStudio to get a completely clean install.

Posted in news | Comments Off on AppStudio 5.0.13 released.

Responsive Design: Rotating Your Device

When designing an app for mobile devices, you need to consider what happens if the device is rotated. You can just put up a message asked the user to rotate back, or you can design your app so it looks good in both portrait and landscape modes.

AppStudio 5 introduced Responsive Web Design as a way to layout your forms. RWD is a design approach for making apps size themselves to varying sizes of screens.

In this blog post, we’ll use Responsive Design to handle rotation in a simple layout with three buttons. The techniques can be used for much more complex layouts, of course.
Continue reading

Posted in tips | Comments Off on Responsive Design: Rotating Your Device

AppStudio 5.0.12 released

AppStudio 5.0.12 is now available. It includes a number of fixes and new stuff.

  1. Samples: All samples now have BASIC and JavaScript versions.
  2. Samples: new jPlayer streaming video sample (Thanks, Adrian!)
  3. Samples: new ResponsiveRotation sample.
  4. Build: Fix Mac OS ‘Get Info’ data.
  5. Controls: Don’t set button margin to 0 if position is relative.
  6. StyleHeaders: Process last, so its rules have precedence.
  7. StyleHeaders: Update Design Screen on close.
  8. Translater: Fix ‘else’ embedded in variable name.
  9. Translator: Fix regular expression error in array/function.
Posted in news | Comments Off on AppStudio 5.0.12 released

AppStudio 5.0.11 released.

AppStudio 5.0.11 is now available. It includes a number of fixes and new stuff.

  1. Controls: Add min, max values to Date Pickers – speeds up Android.
  2. Controls: Allow vh, yw sizes (viewport height, viewport width)
  3. Controls: Fix error in jqWidgets Tabs control.
  4. Controls: NavBar, FooterBar: All spaces are now converted to underscores for event argument.
  5. Controls: NavBar, FooterBar: Design time style now used at runtime.
  6. Deploy: Get project path to jqWidgets correctly.
  7. Form: Default form height is now 100vh.
  8. Make EXE: Unicode characters are now allowed.
  9. PhoneGap Build Status: Improve iOS message.

The current Android Chrome DatePicker has a number of problems. The most significant one is that it can take 4-5 seconds to load. It’s figuring out how to format many months ahead and behind in advance. You can speed this up by specifying an min and max for the date value, so it doesn’t do as much work. There are a couple of other bugs here and here. We expect Google will fix these soon. (Thanks to Doug Allrich for tracking this down!)

As always, we’re fixing bugs as fast as we find them. If you see any, let us know.

We’re always listening, so please send comments, suggestions and words of encouragement to support@nsbasic.com.

Posted in news | Comments Off on AppStudio 5.0.11 released.