Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

get orientation and angle of screen  RSS feed

 
omid azadi
Greenhorn
Posts: 14
  • 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
Saloon Keeper
Posts: 3753
78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That should work. Post the full message with stack trace that you got.
 
We can walk to school together. And we can both read this tiny ad:
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!