Win a copy of hapi.js in Action this week in the HTML, CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

get orientation and angle of screen

 
omid azadi
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi i need to get angle and orientation of my device;
i found thid

but app just stops with a message !
help me please!
 
Tim Moores
Bartender
Posts: 3195
54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That should work. Post the full message with stack trace that you got.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!