0

Suppose that there is a house whose longitude and latitude is known to me and I am somewhere in the neighborhood. I want to give a buzz whenever the mobile is pointing in the direction of the house (within a chosen degree of accuracy)

Is there an existing solution in android that does this? If not how can this functionality be achieved.

I was thinking of using Google maps where it not only shows is our current geo location but the blue arrow shows us the direction at which the mobile is current facing. Problem is that I can get the coordinates of my current geo-location. But how do I get which direction I am pointing to?

  • Most phones have a magnetic compass sensor integrated - that is what you are searching. Anyway please keep in mind that app development question are off-topic here. – Robert Jun 11 at 10:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.