In answer to the original query, there are four conceptual ways I can
think of to do the job:
1) Paint the letters and hash marks under program control
2) Have an image that goes, say W..N..E..S..W..N..E and slide it back
and forth as needed
3) Have images W, N, E, S, and several ".." images of different
lengths, and "tile" together the desired image.
4) Have about 32 complete separate images and select one


On Oct 31, 3: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