Volt: Accessing serverStorage from the Dashboard

When you use serverStorage, the data is saved on the Volt Server. The Dashboard is your tool to manage the apps you have saved on Volt. One of its features is that you can examine and change the data in serverStorage.

Here’s how.
Continue reading

Posted in tips | Comments Off on Volt: Accessing serverStorage from the Dashboard

Using serverStorage to save data on the Volt Server

AppStudio 6.1 brings a new Volt feature: serverStorage. It lets you save and retrieve data on the Volt server. Here are a few uses:

  • As a backup: Keep critical data in the server, so if the phone gets lost or damaged, information is not lost.
  • Multiple devices: If the user runs your app on multiple devices (desktop included), your app can pick up where it left off with the same data.
  • Support: As the owner of the app, you can examine what is in your user’s serverStorage.
  • Data Sharing: The owner of the app can read and write to users’ serverStorage using a different app. Use this to send specific information to users, or to get data the user has collected.

It’s easy to use. You save and retrieve values using a named key. The values can be of any data type: numbers, strings, arrays or objects. There are no limits on the number of values you keep, nor how big the values can be, other than that they be reasonable. If you need to use a lot of data, check with us at support. Here are some examples:
Continue reading

Posted in news, tips | Comments Off on Using serverStorage to save data on the Volt Server

Using the Clipboard

ClipboardData lets you access the data on the Clipboard. You can:

  • Use and modify the data cut or copied to the clipboard
  • Use and modify data pasted from the clipboard.

It can be used in Input, Textarea and Textbox controls in all frameworks. It controlled by the oncopy, oncut and onpaste events. The information about the clipboard is passed as a parameter to these events.
Continue reading

Posted in tips | Comments Off on Using the Clipboard

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.

Posted in news | Comments Off on AppStudio 6.1.0 released!

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.

Posted in news | Comments Off on AppStudio 6.0.7 released!

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.

Posted in news | Comments Off on AppStudio 6.0.6 released!

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.

Posted in tips | Comments Off on The manifestFile property and online apps

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.

Posted in news | Comments Off on AppStudio 6.0.5 released!

AppStudio 6: 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

Posted in tips | Comments Off on AppStudio 6: 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.

Posted in news | Comments Off on AppStudio 6.0.4 released!