views:

2694

answers:

7

Hi all,

Id like to create a small cross-mobile javascript application, which consists of a form and a grid as result. I also want to display some images, with something similar to lightbox. I coded an home maded prototype but id like to add 'touch' effects and support multiple screens easyly.

I looked at JqTouch but its very slow on my HTC magic/android. Also found XuiJs but cant find any working example !

Anyone found something light, nice, and iPhone+Android compatible ?

Also, is it possible to access some of the phone API using javascript ?

Thanx

EDIT : just found a nice Android/iPhone web frameworks comparison here

EDIT2 : Sensa Touch and Wink are the newcomers for pure web apps.

If you want a minimal mobile-enabled webpage, just add this meta :

<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
+1  A: 

Take a look at phonegap.

slebetman
id prefer a non-app/non-store solution. 100% web should be enough for me !
jujule
+2  A: 

I've had luck with web apps developed in iui looking good on both the iPhone and Droid platforms.

TheJerkMan24
looks nice on both platforms, thanx :)
jujule
+2  A: 

Finally, Sencha Touch from ExtJs just landed. ouf !

its open source, and built with jqTouch creator, David Kaneda, with ExtJs great patterns.

http://www.sencha.com/deploy/touch/examples/kitchensink/

seems to be the missing lib for mobile web app dev

jujule
You can also wrap Sencha Touch apps in phonegap for distribution on app stores.
Michael Mullany
Incidentally I asked them about this and it appears it will violate their GPL license. Until they have a commercial license available for Sencha touch this is not legal.
Alex Mcp
using sencha inside phonegap breaks sencha GPL ? big issue
jujule
There is a commercial trial license in the latest beta 0.93
Michael Mullany
A: 

You could use Titanium Appcelerator they are using java script without html and until now I found them to deliver the best native look on both platforms.

Janusz
+1  A: 

There is also wink, a new open source initiative of the Dojo foundation with some cool widgets

Ryan Oneil
looks great thanx
jujule
+1  A: 

In addition to wink, don't forget Dojo itself. You can use the normal version to develop web apps that run nicely in several mobile web browsers, or you can use the optimized versions as outlined in Dojo 1.5: Ready to power your web app:

A number of new Dojo Toolkit and Dojo Foundation initiatives are underway:

And what is possible in phones with Javascript? Have a look at this book: Building iPhone Apps with HTML, CSS, and JavaScript

Maine
A: 

jQuery Mobile, which has just gone into beta, provides a cross-mobile framework including UI widgets.

The widgets are a little too iPhone-inspired for my tastes (it would look very out of place on anything but iOS and possibly Android), but it's at least a good foundation.

Richard Szalay