compass

Android - How to get compass direction

I want to show the direction on the screen that phone is facing. For example: 0 |- [] |_ South --- North In the above diagram the phone would display "North". Since the user (the stick with 0 for his head) is holding out the phone (the [] in the diagram) pointing north. I found this example. I understand what it's doing...

compass guide to gps destination

hello. here is the basic concept of the thing i want to do. i want to rotate a imageView with an arrow from the current user location to some previously saved GPS location. how do i do this? is the Initial Bearing got from the Location.distanceBetween... method the right way to go on this? if so how do i use it with the compass readin...

How to create a 3D compass in Android?

I am currently trying to develop a 3D compass myself. I have been trying for almost a week now, and still no luck. So please help me out. This is the code I use for my orientation handler: public void onSensorChanged(int sensor, float[] values) { // azimuth pitch roll if (sensor == SensorManager.SENSOR_ACCELEROMETER) { ...

Installing Compass & Sass on Dreamhost

I would like to get going with Compass and Sass on my Dreamhost webspace. Unfortunately it is not part of the provided standard gems so the installation appears to be more complicated. Does anyone have hands on experience with installing and running Compass and Sass on Dreamhost? I'd appreciate any guidance. ...

Rotate an image to direct to a well know point using compass heading

As a proof of concept, I want to create an application that retrieve the current coordinates, calculate the direction towards an another point and, using compass, rotate an arrow image to direct to that point in space. I know how to retrieve current coordinate and to rotate the image through CGAffineTransformMakeRotation, but I haven't ...

iPhone SDK Point to a specific location

Hi, I'm trying to develop an application that use the GPS and Compass of the iPhone in order to point some sort of pointer to a specific location (like the compass always point to the North). The location is fixed and I always need the pointer to point to that specific location no matter where the user is located. I have the Lat/Long coo...

Compass and Accelerometer precision

Hi, i made my own application in Android that use compass and accelerometer sensors to display the degrees of rotation and inclination of my device. I initialized all the listener and objects i needed (i followed some tutorials), and now i can catch the degrees as i wished. The problem is that the measures that sensors return aren't accu...

LESS vs. COMPASS

For a rails CSS framework for an existing app, which one do you prefer - LESS or COMPASS? ...

Android compass example does not seem to work in landscape mode

Hi, I have developed a compass based on this example: http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/graphics/Compass.html Since my app only operates in landscape mode so will the compass. However, it seems as this code does not function correctly in landscape mode. North points more towards east. ...