If you want it to really look like an aircraft compass, construct it
as a sphere with markings in openGL.

On Oct 31, 4:51 am, "josef.hardi" <josef.ha...@gmail.com> wrote:
> 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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to