This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin 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: 3885
91
  • 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!