• Post Reply Bookmark Topic Watch Topic
  • New Topic

Location API - Orientation example

 
Mahmudur Rahman
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone give me some example of using the Orientation class in Location API (JSR-179)? I am trying to detect the orientation (Horizontal / Vertical) of the handset. Thanks in advance.
 
Syam Sathyan George
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does your Service Provider support lbs, if not are you using another GPS device to fetch the location?

anyway, I found this link to be useful:http://today.java.net/pub/a/today/2004/04/01/gis.html
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!