Questions tagged [compass-geolocation]

Geolocation is the identification of the real-world geographic location of an object, such as a cell phone or an Internet-connected computer terminal. Geolocation may refer to the practice of assessing the location, or to the actual assessed location.

328 questions
0
votes
1 answer

Gyroscope/Compass and Device Orientation

I'm making a compass app for Android and I've managed to capture the azimuth by using the gyroscope, accelerometer, and magnetometer (see here for the tutorial I used). Unfortunately, the compass reading only functions when the device is placed…
0
votes
1 answer

Compass without eventListener

When you normaly build an Compass app u use something like this: @Override public void onSensorChanged(SensorEvent event) { int myAzimuth = Math.round(event.values[0]); //Angle } But I want to read the Data on my own something like:…
Cracker0dks
  • 2,154
  • 1
  • 20
  • 36
0
votes
1 answer

How to get the direction of a point in the map in iOS?

I need to mark a point in the map and get the direction of that point (like in a compass) related to the angle that the phone is currently being held in. Any tips would be highly appreciated. Thanks.
Maduranga E
  • 1,503
  • 3
  • 21
  • 37
0
votes
1 answer

iOS 5/6 Gyroscope north reference

i have a problem to read out the internal gyroscope of the iphone correctly. I had developed a augmented reality engine based on the magnetometer. Because the gyroscope gives more reliable values than the magnetometer, i wanted to improve the…
Philip
  • 78
  • 13
0
votes
1 answer

MKMapView in reverse, when compass mode using in my iphone app project

I am developing an iphone application,in that app i am showing the client Parking places in different locations on MKMapView. Now I need to use compass mode in MKMapView to show the client parking places in particular direction (SE,SW,NE,NW), for…
0
votes
1 answer

Start/Stop compass sensor

Is there any option to start/stop compass after compass sensor was requested. I would to stop receiving events from compass to save battery but found no such an option (no dispose, no close, no stop as we have for windows phone) Thanks!
Alexey Strakh
  • 10,508
  • 17
  • 76
  • 146
0
votes
1 answer

Spring compass hibernate integration

Can any one give example for Spring compass hibernate integration for web application
SENTHIL SARAVANAN
  • 699
  • 1
  • 11
  • 26
0
votes
1 answer

Android compass correction on different devices

I have got a small application that uses compass readings on my device (Xperia Neo V). When testing it, I got very satisfying results while pointing the desired direction. But I tested it on a Samsung Galaxy S3, and I run the same application on my…
Ugur KAYA
  • 127
  • 3
  • 12
0
votes
1 answer

determine if object in the same direction or not android

I want to develop an app that, at first, submit an object location "With Direction" so that when moving again in this street in later time "in the same direction" I can detect that and tell the user you are in the same direction of that object and…
MSaudi
  • 3,590
  • 2
  • 32
  • 58
0
votes
2 answers

Iphone access compass in a html page

I'd like to get the direction (N/S/E/W) pointed by an iPhone inside a webpage (not an app). Ideally it would be gotten in javascript. It is likely to be impossible but I would like to be sure. Do you know a way to get this ? Thank you
kursus
  • 1,297
  • 1
  • 16
  • 31
0
votes
2 answers

How can I calculate getOrientation() without enabling compass?

I have a MapView with an ImageView with an arrow that points towards a specific location. I´m doing the pointing by rotating the ImageView, by calculating the bearing (orientation) of the compass by means of getOrientation() - the heading with…
0
votes
1 answer

Is it possible to combine an Accelerometer and Digital Compass to get a fine Gyroscope?

I want to make an app that need to use Gyroscope Sensor However, due to cheap android phone didn't provide this sensor but it still have accelerometer and digital-compass in itself. As far as I know.. Since, accelerometer can detect 3 axis of our…
Sruit A.Suk
  • 6,247
  • 7
  • 55
  • 66
0
votes
1 answer

android compass rotateanimation

I'm making a compass that points to a user defined location. I'm using the rotateanimation to rotate the needle. When the needle points in the direction of the phone I know the phone is pointing in the direction I want. However, I wanted the…
mgalal
  • 387
  • 10
  • 24
0
votes
1 answer

Make MyLocationOverlay compass point to a particular location

I'm trying to make MyLocationOverlay compass to point to a particular location. I want to show a direction from current user's location to a given location. So far I've managed to calculate a direction and pass it to MyLocationOverlay. But the…
droid8421
  • 837
  • 1
  • 11
  • 23
0
votes
0 answers

Add textview in compass

I have to make an application where a compass indicate west point. Here is my code public class CustomCompassActivity extends Activity implements SensorEventListener { Float azimut; // View to draw a compass public class CustomDrawableView…
Android Girl
  • 2,114
  • 3
  • 20
  • 29
1 2 3
21
22