Sunday, October 31, 2010

[android-developers] How can I create an aircraft-mounted-liked compass?

I want to create a non-generic compass that uses rotating directions
instead of a rotating needle as in the conventional compass. The
drawing is like the illustration below.

|
' ' W ' ' ' ' ' N ' ' ' ' ' E ' ' ' ' ' S ' ' '

(shift a bit to the east)

|
' ' ' ' ' N ' ' ' ' ' E ' ' ' ' ' S ' ' ' ' ' W

The needle (depict as "|") is fixed and the direction string should
have
some sort of "rotation" effect that immediately relocates each sign or
character from one tip of the edge to the opposite edge. Of course,
the movement follows the reading of the Android sensor.

Does anyone has an idea how to implement this? I stumbled with how
I create the rotation effect and connect the string's movement with
the sensor reading.

Thanks
/Joe

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate