Does an Android 'sensor' have a compass built in? I thought it was just a motion sensor, portrait/landscape, etc., and not a true compass?
And as far as I know, the gps device is a coordinate/point location thing, not a compass thing. How would the phone/device actually know its facing North? Finally, I'm not sure if this would help you out, but take a look at this article (its in three parts, link is part one), that describes a scrollable surface view: http://www.droidnova.com/create-a-scrollable-map-with-cells-part-i,654.html Not sure if it can help you or not, but maybe a place to start? On Oct 31, 1: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