Sunday, October 31, 2010

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

Just to answer my own question, Compass functionality is built into
some (all?) devices. I noticed that the up-coming T-Mobile Comet has
compass functionality.


On Oct 31, 2:06 pm, Adrian Romanelli <adrian.romane...@gmail.com>
wrote:
> 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,65...
>
> 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+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