Showing posts with label javascript. Show all posts
Showing posts with label javascript. Show all posts

Android - Best cross-mobile javascript framework

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 ?

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

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

EDIT3 : advanced mobiles frameworks comparison : http://www.markus-falk.com/mobile-frameworks-comparison-chart/

If you want your webpage to be resized for mobiles, just add this meta :<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>

Android - Detect rotation of phone in browser with javascript

I know that in Safari on an iPhone you can detect the screen's orientation and change of orientation by listening for the onorientationchange event and querying window.orientation for the angle.
Is this possible in the browser on Android phones?

To be clear, I am asking whether the rotation of an android device can be detected by JavaScript running on a standard web page. It is possible on an iPhone and I wondered whether it could be done for Android

VIEW COMPLETE THREAD WITH REPLIES

Popular Posts