AppStudio 6.1.0 released!

We’re pleased to announce AppStudio 6.1.0 is ready. New and improved stuff includes:

  1. Controls: Stripe control updated – now easier to use.
  2. Controls: Input controls can now copy and paste to Clipboard.
  3. Volt: appStorage support added. Data for apps can be set by owner.
  4. Volt: serverStorage support added. Apps can save data on the server.
  5. Controls: Debugging added to Stripe control.
  6. Controls: Header.backgroundColor no longer gets translated.
  7. Dashboard: Can now examine and maintain appStorage values.
  8. Dashboard: Email provider can be selected in Email Plugin.
  9. Documentation: Wiki and internationalization files updated.
  10. IDE: Copyright dates set to 2017.
  11. Runtime: Print False now clears Print popup.
  12. Runtime: Print Cursor turns into pointer over close button.
  13. Samples: InputTwoNumbers renamed to AddingTwoNumbers.
  14. Samples: New Clipboard sample
  15. Samples: New Volt Storage sample
  16. Samples: Sending email added to Volt Signon sample.
  17. Samples: Stripe sample improved.
  18. Volt: Email provider can now be selected.

Watch for upcoming blog posts on some of these enhancements – there is some cool new stuff you can do.

Download the latest version from ‘Check for Updates’ under then AppStudio Help menu. It is a free upgrade for AppStudio 6 users.

AppStudio 6.0.7 released!

We’re pleased to announce AppStudio 6.0.7 is ready. New and improved stuff includes:

  1. Controls: Input .value properties can now be edited with the popup editor.
  2. Documentation: Localization and offline Wiki updated.
  3. MakeEXE: Sample now executes Python snippets.
  4. Project Properties: New voltDomain property added.
  5. Samples: Volt SignOn has a new Send Email button.
  6. Samples: CameraToServer sample fixed.
  7. Samples: Libraries used by JSModeler updated. Thanks, Adrian!
  8. Volt: Can now be used from PhoneGap apps.
  9. Volt: Send Email API added.

The JSModeler sample is fun to try. Contributed by Adrian Nicolaiev, it shows how to use the JSModeler library to create 3D graphics using AppStudio. Seems like a great way to waste time over the holidays – it can even model Lego bricks!

Download the latest version from ‘Check for Updates’ under then AppStudio Help menu. It is a free upgrade for AppStudio 6 users.

AppStudio 6.0.6 released!

We’re pleased to announce AppStudio 6.0.6 is ready. New and improved stuff includes:

  1. Bootstrap: Alert no longer dismisses if nondismissible.
  2. Bootstrap: ID added to header element of input controls.
  3. Bootstrap: Input – Class property now applied to outmost wrapper.
  4. Bootstrap: Input control now styles inputType ‘File’ properly.
  5. Bootstrap: Input: add inputType of ‘color’. Not supported by all browsers.
  6. Bootstrap: Textarea expands to fill stated height of the control.
  7. Controls: Modal form contents now have maxWidth of 90% of the form width.
  8. Controls: Modal forms now default to a zIndex of 1000, appearing above all others.
  9. jQWidgets: Checkbox – use onchecked event, not onclick.
  10. Libraries: AddToHomeScreen – revert to older version.
  11. MakeEXE: Libraries updated to making Windows exe files works again.

Download the latest version from ‘Check for Updates’ under then AppStudio Help menu. It is a free upgrade for AppStudio 6 users.

The manifestFile property and online apps

In Project Properties, there is a property named ‘manifestFile’. The setting of this property can have a big effect on how your app works, online and offline.

The default setting is appcache. This causes AppStudio to collect the names of the files in your project and put them in a special file called OfflineApp.appcache. When your app is downloaded to a device, this file is checked by the browser. The files named are stored in the browser’s persistent storage on the device. This allows your app to run even without an internet connection, since all the files needed are present.

Each time a cached app is started, the browser checks to see if the OfflineApp.appcache file has been updated on the server: if so, the new version of the app is downloaded. If it can’t reach the server (perhaps because the device is offline), it does nothing and runs normally.

If the OfflineApp.appcache file has been deleted on the server, the app is deleted from the device.

The manifestFile property can also be set to no caching. The OfflineApp.appcache file won’t be created, and the app will not work in offline mode. It’s worth doing if your app will only work if the device is online: for example, if it has a lot of Ajax calls which are necessary for operation. A side benefit is that you won’t get any “Cache Error” messages.

If you change an app from appcache to no caching, be sure to clear your browser’s cache. Otherwise, it will still think it’s a cached app.

The final choice for this setting is manifest. It’s an obsolete setting. When the standard was first set, it specified .manifest as the ending for the file. Microsoft pointed out that it already was using .manifest for something else. Oops. The standard was revised to call it .appcache instead. Some early AppStudio projects were created in the .manifest days – changing the file suffix now could cause cache errors.

AppStudio 6.0.5 released!

We’re pleased to announce AppStudio 6.0.5 is ready. New and improved stuff includes:

  1. Bootstrap: Input control icon now part of the input element.
  2. Bootstrap: Input control made more responsive.
  3. Bootstrap: Input control now has leftText option.
  4. Bootstrap: Input control now works with password savers.
  5. Bootstrap: Input control now has color type. Not supported on all browsers.
  6. Controls: Automatically update old hidden properties.
  7. Controls: Problem with Grid style fixed.
  8. IDE: Open Project CSS added to the Project menu.
  9. jQM: TextBox control now has color type. Not supported on all browsers.
  10. jQM: Select control’s hidden property fixed.
  11. Library: AddToHomeScreen updated for iOS 10.
  12. Library: jQuery Modal updated to 0.8.
  13. Volt: SignOn sample updated.

A couple of these are of special interest – watch for blog posts soon!

Download the latest version from ‘Check for Updates’ under then AppStudio Help menu. It is a free upgrade for AppStudio 6 users.

Positioning Controls (II)

In our last post on positioning, we discussed the different ways of arranging controls on a form. This time, we’re going to have a closer look at static positioning and how you can get your controls to the proper place on your form.

You might want to open a new project in AppStudio and play along. Start a new form with position set to static. Add three Bootstrap buttons:

screen-shot-2016-11-22-at-9-38-39-am

Notice how they position themselves? They automatically go to the left side of the screen, below the previous button. Let’s see what ways we have to put them on the same line.
Continue reading “Positioning Controls (II)”

AppStudio 6.0.4 released!

We’re pleased to announce AppStudio 6.0.4 is ready. New and improved stuff includes:

  1. Bootstrap: .resize, .Top, .Left, .Width, .Height added to all controls.
  2. Bootstrap: Dropdown select area drawn better in Design Screen.
  3. Bootstrap: Fliptoggle (Bootstrap) – new control.
  4. Bootstrap: Input now has .files property for inputType file.
  5. Bootstrap: Panel – allow HTML in fields
  6. Code Window: Commit code changes before translation.
  7. Code Window: Override toolbox default language when needed.
  8. Controls: Label select area drawn better in Design Screen.
  9. Controls: hidden property is now a style, not an attribute. Some hidden settings may need to be refreshed.
  10. IDE: Bootstrap Theme Customizer added to Tools menu.
  11. IDE: Open Project CSS added to the Project menu.
  12. iScroll: Zoom functions restored
  13. Project Properties: ‘styleheaders’ renamed ‘projectCSS’.
  14. jQM: Improvements to List styling.
  15. jQW: hidden and style attributes now work for all controls.

A couple of these are of special interest – watch for blog posts soon!

Download the latest version from ‘Check for Updates’ under then AppStudio Help menu. It is a free upgrade for AppStudio 6 users.

Using Adsense with Volt

search-1Adsense is Google’s web ad service. If you agree to display Google’s ads on your site, you’ll collect money each time someone clicks on an add.

To do so, add the AdSense control to your app. Choose the size (320×50 up to 300×250) and position it. AdSense will automatically display ads in the space. You’ll need to set Client number and Adsense slot number.

Get the Client and slot numbers from Google Adsense when you sign up. Follow Google’s instructions for the rest: they are pretty good.

One of the requirements is to list the name of the site your app is hosted on. If you don’t have a site, no problem. You can use Volt. Simply supply the URL to your app on Volt:

screen-shot-2016-11-21-at-3-52-32-pm

Here’s an ad in an app:

screen-shot-2016-11-22-at-5-10-10-am

And here’s a link you can try yourself: https://adsense-wets-correctly.volt.live/

Now tell people about your app and watch the money roll in!

Make your own Bootstrap Theme

AppStudio lets you manipulate many of the features of the Bootstrap controls. Essential to their appearance, however, is the theme they use. By changing the theme, you can affect the color and appearance of all your Bootstrap controls. AppStudio includes 18 Bootstrap themes: bootstrap, bootstrap-enhanced, cerulean, cosmo, cyborg, darkly, flatly, journal, lumin, paper, readable, sandstone, simplex, slate, spacelab, superhero, united and yeti.

But what if you want to make your own theme? It’s surprisingly easy to do using the Bootstrap Theme Customizer. You start it from http://getbootstrap.com/customize/ or AppStudio’s Tools menu. It includes full documentation – we just present an overview here.

Continue reading “Make your own Bootstrap Theme”

Positioning Controls

Web design is constantly evolving. Each year, new features are introduced to HTML, CSS and JavaScript. New page design trends emerge along with new style guides. AppStudio 6 has a number of changes to bring AppStudio development up to date with current best practices.

Responsive Web Design allows your apps to change how they display depending on screen size. Most new web development is based on RWD. AppStudio 6 has enhancements to better use RWD.

The position property, in Form Properties, is key to this. Its setting determines how controls are positioned on a form.

There are three useful settings: absolute, static and relative. (fixed is included for completeness, but not currently used by AppStudio).

Let’s discuss the differences and advantages of each.

Continue reading “Positioning Controls”