PDA

View Full Version : Turning Sencha Touch-based app into a true native iPhone app?



inapp
20 Jul 2010, 5:14 PM
As I understand, Sencha Touch is just a javascript library that lets you create websites that respond to multitouch and other features you find in native iPhone apps. So... Your end result is accessed on Safari on the iPhone, and not as a native iPhone app. Is there a way to convert this to a native app?

(Is Sencha Touch really the end of native?)

ElliotS
20 Jul 2010, 5:32 PM
Ack it ate my reply! Anyway... short answer... yes you can run it as a native application. Look at Phonegap - http://www.phonegap.com/

I've tried it with a Sencha Touch app and it works fine in my limited testing.

inapp
20 Jul 2010, 5:43 PM
Apple is supposedly blocking 1-click cross-platform appmakers like phonegap - I notice that their list of app examples are all more than a few months old -- have there been other automated-native-ized apps accepted by iTunes recently?

ssdesign
21 Jul 2010, 5:26 AM
Is this true?
Where did you get this information from?

I am planning to use Phonegap with Sencha.

inapp
21 Jul 2010, 5:44 AM
There's some amount of news on it - here's the quickest google search (http://www.engadget.com/2010/04/08/apples-iphone-lockdown-apps-must-be-written-in-one-of-three-la/).

Except, it looks like Phonegap's "Apple approved for App Store submissions": http://www.phonegap.com/download - I haven't had time to look into Phonegap yet, so I'm guessing it's Objective-C?

ssdesign
21 Jul 2010, 5:57 AM
No, that does not block Phonegap.

If you know Phonegap, its just HTML. And it uses a Xcode project which uses UIWebView to render your HTML.

The actual compilation of Phonegap still happens inside Xcode. So I dont see why Apple will block it.

inapp
21 Jul 2010, 5:11 PM
It looks like there are a couple of other cross-platform / rapid app dev software -- how does Phonegap compare with appMobi and others, for Sencha Touch conversion?

ssdesign
21 Jul 2010, 5:59 PM
AppMobi is paid (commercial), Phonegap is Free (Opensource).

Phonegap is Apple approved (as far as I know).
Not sure about AppMobi.