Jump to content

Accelerometer rotation detection with javascript


Guest iDave

Recommended Posts

Hi folks, this is my first post here!

I'm a web developer, and I've recently bought a Samsung Omnia, I've realized a script which detects the orientation mode of mobile phones, and it can detect the 2 different display type: "landscape" or "portrait". Actually it works on:

- Samsung Omnia (with Opera mobile 9.5)

- HTC touch HD (I don't know which browser)

- Blackberry (with native browser)

If you would like to test it, go here (with your mobile): http://daveoncode.site90.net

If you want to know more about, read my blog: http://www.daveoncode.com/2008/12/15/detec...ith-javascript/

let me know, thanks :rolleyes:

Edited by iDave
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.