http://www.phonegap.com/2010/12/14/phonegap-getting-started-screencasts/
(Thanks, Lennie!)
http://www.phonegap.com/2010/12/14/phonegap-getting-started-screencasts/
(Thanks, Lennie!)
Lanny Rosiky from the Czech Republic reports that NS Basic/App Studio runs on Virtualbox WIN/XP and on Ubuntu Wine with the Linux version of Chrome.
Are you using App Studio on an interesting configuration? Let us know!
One of the cool features of NS Basic/App Studio is that apps can be installed to the Home screen and run even if the device is offline. It does this by caching the files the app uses.
There have been some questions about how offline apps get cached: how do you tell if you app is being updated with a fresh copy?
It turns out there are some nice events you can watch. You could use these to put up a progress dialog, or a warning to wait until the update is complete. The events only appear if you are downloading a deployed version – they do not fire if you are running locally.
Here’s the important code – a good place to put it is in the global code section.
window.applicationCache.addEventListener("checking", logEvent, false)
window.applicationCache.addEventListener("downloading", logEvent, false)
window.applicationCache.addEventListener("noupdate", logEvent, false)
window.applicationCache.addEventListener("progress", logEvent, false)
window.applicationCache.addEventListener("updateready", logEvent, false)
Function logEvent(e)
print e.type
End Function
From Lennie De Villiers:
WebWorks is an open source project by RIM, supporting all new devices like the new Blackberry Torch 9800 (OS 6.0) and Blackberry Playbook tablet PC (from next year). There are two ways to target WebWorks: use WebWorks directly or via PhoneGap. The PhoneGap version adds additional JavaScript APIs. Instructions below are for WebWorks only. If there is demand, I’ll add instructions for PhoneGap as well.
WebWorks is the same as “WebKit” so you can see a lot of videos + tutorials etc on the Blackberry Developer Zone website. The WebWorks home page:
http://us.blackberry.com/developers/browserdev/opensource.jsp
These instructions are for Windows.
From Lennie De Villiers:
This requires a Mac OX running 10.6.0 Snow Leopard or greater.
Once this is done, you can start the process for submitting to the App Store. Be prepared – it’s a lot of work.
From Lennie De Villiers:
Instructions to compile an NSBasic app to PhoneGap on Android on MS (Windows only)
Michael Strupp took some time to try out NS Basic/App Studio on a Palm Pre Plus. In theory, it should work OK: it uses the same HTML5 + WebKit + JavaScript framework that NS Basic/App Studio does. Here’s his report:
I had a chance to try out NSBasic App Studio on my Palm Pre Plus and it looks like it works fine – even the email example worked great (the message loaded into my gmail app, including the body of the text). From what I read, WebOS (the OS running on the Palm Pre) is basically all built upon the WebKit model, so the two seem made for each other.
The only sample app that I tested that I couldn’t get to work right was the one where you squeeze and expand the picture of Mario – I think this is because the WebOS browser natively responds to those gestures already. Otherwise, it seems to work great.
Thanks!
Lennie De Villiers from South Africa has built an NS Basic app into AppMobi. AppMobi takes your apps and turns them into packages suitable for submission to the App Store. If you try this, let us know how it goes for you. We will probably turn this into a full Tech Note. Here are his notes:
More information on how the XDK IDE works etc can be found on theĀ AppMobi web site.