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.

333 questions
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
  • 7,073
  • 7
  • 61
  • 71
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
  • 427
  • 12
  • 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
  • 895
  • 1
  • 13
  • 26
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,074
  • 3
  • 22
  • 29
0
votes
1 answer

How can I set my compass direction in always to the west?

I make a Google map where compass automatically directs north. But I have to make this compass's indicator always to the West. How can i do it?Any ideas?Do i need to perform any special terms? Please Help me :(
Android Girl
  • 2,074
  • 3
  • 22
  • 29
0
votes
1 answer

Adding Compass to Rotate MapView

I'm using the code of MapsDemo Sample to draw a Map that rotates according to the compass, but enableCompass is not working to show the compass on MapView. I tried to add this compass…
Senén
  • 21
  • 2
  • 9
0
votes
1 answer

Accurate (azimuth) compass direction Android 3.2 tablet

Dear programmers/scripters/engineers/other people, The problem: I'm currently developing an augmented reality application for an Android 3.2 tablet and having some issues with getting an accurate compass reading. I need to know exactly the (z)…
Roland
  • 11
  • 1
  • 3
-1
votes
0 answers

Can i make a compass that shows the location of a specific object?

I'm a high school student with an important project. I want to know if it would be possible to create a small GPS tracker/ compass that is set or coded to lead to a specific object. I have no knowledge when it comes to anything technological, but I…
-1
votes
2 answers

How to print compass orientation on Xcode?

I am very new to coding in general and have been following lots of tutorials to get where I am right now. I followed this other question of stackoverflow: Finding the compass orientation of an iPhone in swift Following the code in each answer,…
-1
votes
1 answer

Code for android that would use a compass to point to a specific Longatude and Latatude?

I'm brand new to coding apps. I have an idea. Does anyone have a code snip for pointing the user towards a pre programed geographical point?
-1
votes
2 answers

Compass is not working without Magnetic sensor

I am working on a project where I have to find the direction. I wrote a code and did test. It worked fine in some devices, but in other devices it(the pointer) didn't even move. I studied about this and got to know that Magnetic Sensor is the only…
Devraj
  • 1,479
  • 1
  • 22
  • 42
-1
votes
1 answer

Google maps javascript v3 api

How I can use google maps COMPASS mode for building web app? Does it possible with google maps v3 or not? Is this possible only with ANDROID api for maps?
-1
votes
2 answers

Prevent UIImageView from rotating with the device rotation

I am doing a compass and I dont want my uiimageview rotate when the user rotate the device. Is it possible to disable this? Thanks you.
-1
votes
2 answers

Android how to create custom compass pointing to my home?

hello everyone i am developing an application that makes a compass pointing to my house i am so tired and i can't get any results from any book or forum i found THIS question it's very good but i need something more advanced any ideas maybe from…
Poison Sniper
  • 148
  • 2
  • 15
-2
votes
3 answers

How do I convert two floats of latitude and longitude into Google Maps latlng?

I have the latitude and longitude of places in a dataframe. I am looking to get the zip code using Google Maps API. Now I am trying to write a loop to do this and it won't work. The problem is the gmaps variable latlng How do I get two floats that…
1 2 3
22
23