AppStudio 3.0 introduced a much improved Print statement. It wasn’t long before one of our users, Erkan Kaplan, started wondering whether he could do to make it do more. He realized the text in it is HTML. That opened up all kinds of possibilities.
Continue reading “Hacking the Print statement”
Can I has cheezburger? Emoji!
This blog post best viewed in Safari or Android – you’ll see a Cheezburger below.
Emoji are extended characters that are built into mobile devices. There are hundreds of them: arrows, letters, roman numerals, pictures of food, building, transportation, flags, animals. And of course, happy faces, sad faces, crying faces. It’s easy to use them in AppStudio apps.
Continue reading “Can I has cheezburger? Emoji!”
AppStudio 3.0.7 is ready!
We have just uploaded 3.0.7 to the servers. It has a number of minor enhancements as well as bug fixes.
The download URL is the same as for 3.0.
Debugging your app on an iOS device
Ever wanted to debug your app while it’s actually running on an iPhone or iPad? You can do so if you have a Mac.
Continue reading “Debugging your app on an iOS device”
Android Browser and Chrome
There has been some confusion in the Android world lately due to the two different browsers on Android devices. Some devices run one, some the other and some run both. Here’s a rundown on what we know about them and how they differ.
Continue reading “Android Browser and Chrome”
How to run your app in Apple’s iOS Simulator
Short of running on an actual device, Apple’s iOS Simulator is the best way to test your apps. It can be configured to act as a iPhone, iPhone 5, iPad, retina and non retina, landscape or portrait. It’s like having a whole closet full of devices.
Here’s how to set it up and get it running on your Mac, without having to start XCode.
Continue reading “How to run your app in Apple’s iOS Simulator”
Why learn to code?
AppStudio 3.0.6 is ready!
We have just uploaded 3.0.6 to the servers. It has a number of minor enhancements as well as bug fixes.
The download URL is the same as for 3.0.
3.0.6
- Deploy: Preferences can now be set for individual projects. This is done in the Preferences screen: prefs can be set for the Global Location (all projects) or Project Location (the current project).
- IDE: (Mac) Environment error fixed.
- IDE: Shortcuts on menus should be fixed in French and other languages.
- IDE: Unicode problem with browser start fixed.
- Runtime: Fixed problem with form not restoring properly after keyboard shown.
- Samples: Add new features to jqWidgets Grid
- Toolbox: Always load iScroll if EULA is enabled.
- Toolbox: jQuery Mobile TextArea no longer resizes if text does not fit.
- Toolbox: New ToolTip control (Thanks, Erkan Kaplan!)
- Toolbox: Orientation message is now customizable.
- Toolbox: Test version of PopUp control added.
The complete list of changes is here.
AppStudio 3: Giving your app a EULA
In some cases, you will need your customer to agree to an End User License Agreement (EULA) before using your app. AppStudio 3 makes this easy to do.
Put the text of your agreement into EULA in Project Properties. The text can be any length and be formatted as HTML.
When your app starts, it checks to see if there is a EULA. If there is and it has not been agreed to, the EULA is presented as the first screen the user sees:
The user has the choice of agreeing to the EULA or hitting the Home button to exit. If the user agrees, the EULA disappears and the app continues normally. Next time the app is started, it remembers that the EULA has been agreed to and does not put up the screen again.
It remembers whether the EULA has been agreed to by setting a entry in localStorage.
You can check the value if you need as follows:
if localStorage.EULA=False Then MsgBox "Please agree to EULA to unlock all features of this app. End If
AppStudio 3: Orientation Control
There is no way to stop someone from rotating their device. The screen is refreshes and your app probably doesn’t fit anymore. There are several ways to deal with this:
- Calculate new sizes and positions for all the controls and move them around.
- Compile using PhoneGap, setting its orientation preference to not rotate your app.
- Take advantage of the opportunity to display something else – like a status report.
- Use the new Orientation control to ask your user to rotate back.
In this post, we’ll discuss the last option.
Continue reading “AppStudio 3: Orientation Control”