jqWidgets: A collection of powerful new controls

Recently, one of our users turned on onto the jqWidgets Controls. They’re a set of powerful, good looking controls – and they work well with App Studio. The controls are free for non commercial use, $99 otherwise.

In Release 2.5, we added support for some of these controls:

  • Button
  • Chart
  • DragDrop
  • SwitchButton
  • Tabs

We have included samples for these. Before you try them, however, you need to download the jqWidgets library. Download it from http://www.jqwidgets.com/download/, unzip it and copy its ‘jqwidgets’ folder into your project folder.

There are many additional controls we have not made definition files for yet. See one you like? Let us know!

Here’s how the new controls look…
Continue reading “jqWidgets: A collection of powerful new controls”

The new name of the manifest file

When you deploy your project, App Studio sends an extra file to the server called the manifest. It contains a list of files which are part of your project and should be downloaded to the device, so it can run offline.

When we released App Studio in 2010, the ending for this file was .manifest. Someone noticed that Microsoft was already using .manifest for another purpose. A few months ago, the standard was changed to .appcache (though .manifest is also fine.)

In App Studio 2.5, the default for new projects is .appcache. Existing projects will continue to use .manifest and work fine. You can control the ending of the manifest file in the new ‘manifestfile’ Project Property.

If you want to use .appcache in your project, you will need to a few things:

  1. Change manifestfile in Project Properties
  2. Delete your project completely from your server and do a full deploy.
  3. Make sure your server gives a MIME type of text/cache-manifest for .appcache files. More info is here.

One of the benefits of using .appcache is that some servers are already configured with the right MIME type. An interesting one is DropBox: if you deploy your project to the Public folder of your DropBox, people can run it from there.

App Studio 2.5.0.4 released!

We have just uploaded 2.5.0.4 to the servers. It has a number of minor enhancements as well as bug fixes.

The download URL is the same as for 2.5.

2.5.0.4

  1. Code Window: Fix syntax highlighting on Case Else.
  2. Controls: Add align property to Label, TextBox ad TextArea.
  3. Controls: Add List, ListCount and ListIndex to ComboBox and Select.
  4. Controls: Added setSelectionRange() to TextArea.
  5. Controls: Rendering bug fixed in Twitter control.
  6. Controls: Trim item names in NavBar and FooterBar.
  7. IDE: fixed problem with demo timeout.
  8. Language: Erase now works on multidimensional arrays.
  9. Libraries: Added new xml2json library.
  10. Samples: Added HelloWorldHebrew sample.
  11. Samples: Added SAP sample.
  12. Translator: Button1_onclick now translates to Button1_onclick().
  13. Translator: Dim a(3):s=a(b.c) fixed.
  14. Translator: Function names used as variables in functions fixed.
  15. Translator: MsgBox 10^2 no longer hangs IDE.

App Studio 2.5.0.3 Released!

We have just uploaded 2.5.0.3 to the servers. It has a number of minor enhancements as well as bug fixes.

The download URL is the same as for 2.5.

2.5.0.3

  1. Code Window: Auto complete improved for a number of controls.
  2. Deploy: improved messages if local deploy fails.
  3. IDE: Added new -ftp-active start up command line switch
  4. IDE: Problem with Reset IDE fixed.
  5. IDE: Removed Del key that was behaving ambiguously.
  6. IDE: Updated demo message.
  7. Language: NSB.ShowProgress can now be removed with an empty argument.
  8. Samples: A number of samples updated.
  9. ToolBox: FaceBook and PayPal no longer error if offline.
  10. ToolBox: FaceBook and PayPal now have .hide() and .show() functions.

What’s new in iOS 6 for App Studio?

The quick answer is that we cannot say, due to nondisclosures. iOS 6 is just available in a closed beta for now. However, I probably can make comments on what I have read on the web.

Here are some of the rumored improvements:

  1. Remote Debugging: It looks like there will be a way to have a desktop debug session hooked up to a device. This will make it much easier to debug on iOS devices.

  2. <input type=”file”>: This will allow interaction with local files on the device. I’m not sure whether this will be more than just photos. It should get rid of the need to use PhoneGap for some apps.

  3. Improved Audio: This would be great, if true. The current audio on iOS is not great.

  4. App Cache increased from 5 to 25 megs. Lets you do much larger apps!

We will continue to watch for more new stuff in iOS 6. We will try to make sure that as many of the new features as possible will be available to App Studio users when OS6 is actually release.

Including Databases with your App

While SQLite databases work very nicely on mobile devices, there is no easy way to get them there. You can’t just add the name of your database to the manifest and be able to use it when your app is deployed.

Until App Studio 2.5, that is. When you add the name of an SQlite database to the manifest field in Project Properties, App Studio will automatically convert the database to a format which can be transferred, then convert it back into a database on the device.

Let’s see how this is done. We’ll use the famous Northwind database which comes with many Microsoft products. I went online and found it in SQLite format.
Continue reading “Including Databases with your App”

The new NSB.ShowProgress dialog

App Studio 2.5 brings a new dialog box: NSB.ShowProgress. Here’s how it looks:

It floats above your current screen. You can put any message into it that fits. It can be dismissed by your app or by the user.

Here is how to put up a message:

NSB.ShowProgress("Please wait...")

and how to dismiss the message:

NSB.ShowProgress(false)

You could also issue multiple NSB.ShowMessage calls, each time updating the text in the box. This is useful for length operations. You can keep your user advised as to what is going on: the perceived waiting time will be reduced.

Deploying your app via DropBox

Note: The problems that DropBox had which affected this method were fixed on Jan 28, 2013. Everything is working again!

Looking for a way to make your apps available to the world without getting your own website? DropBox could be the answer: best of all, it doesn’t cost anything.

DropBox, if you haven’t used it, lets you put a directory of files from your system in the cloud. To you, it just looks like another directory on your PC or Mac. Behind the scenes, the content of the directory is mirrored on DropBox’s servers. Where it gets really cool is that you can have that same directory on other computers – yours or your friends. Sign up is free, and you’ll get a couple of gigs of storage.
Continue reading “Deploying your app via DropBox”

App Studio 2.5 Released!

We’re thrilled to announce that App Studio 2.5 is ready for download!

This release has a long list of enhancements and fixes. So long, in fact, that we’ll break from our usual tradition of listing them individually in the announcement. Here are the highlights:

  • Deploy to DropBox
  • Deploy to local server
  • Support for jqWidgets
  • New ShowProgress function
  • Upload SQLite databases with your app
  • New Facebook and Twitter controls
  • Import and export of databases
  • Early support for Windows Phone 7 devices
  • Improved Find/Replace

… and about 60 other changes.

To see the full list and documentation changes, have a look at this page:
http://www.nsbasic.com/app/History.htm

We will be creating a series of blog posts giving more detail on what is new.

As usual, let us know of any problems you find.

You can download from the usual location. If you are not sure what it is, hang on. We will be sending an email to all registered and demo users with the information.

Programming Contest 2 Results!

We’re pleased to announce the results of our second programming contest.

We had two categories: Web Apps (available via browser download) and App Store (available through various App Stores). All registered NSB/App Studio users were welcome to participate in the contest. Prizes were $100 USD in each category.

Judging was by NSB’s experts. All judging was arbitrary and final. We looked for quality, performance, ease of use, sophistication and overall coolness. Apps could be anything: Enterprise, business, commercial, education, games or even something whimsical.

All programs had to be created using NSB/App Studio. Entries could be commercial, shareware or freeware, and for iPhone, iPad, Android or multiple platforms. Code could be written in JavaScript or Basic, HTML5 and css.

Without further ado, here are our winners: (full results are here)

Continue reading “Programming Contest 2 Results!”