Monday, August 6, 2012

Re: [android-developers] Mecca direction app

It would be best if you didn't cross post, especially since this
message went out to so vastly many groups, android-developers is the
appropriate place for this question.

As for the answer, yes, James pointed out a good solution, you can
look into using LocationManager, along with a Sensor for compass.
Basically you need a location of the user and a location of wherever
you want to orient yourself toward.

With that information, you can create a vector: this becomes a classic
problem of finding a tangent vector on a sphere along a path, (i.e.,
the kind of little pointy things that shoot off of line integrals..,
remember?)

kris

On Mon, Aug 6, 2012 at 8:41 AM, Talha Qamar <talha.kicsit20@gmail.com> wrote:
> Hi i wanna make a Kibla(Qibla or Mecca the holy city) direction app for
> android.If any one have some knowledge about this.Please do share with
> me(Tutorials,Links and code).
> Regards,
> Talha Qamar.
>
> --
> 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

--
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

No comments:

Post a Comment