How to calculate distance between two droids?
Well, let's kill two birds with one thread. I'm new here, and I'm looking to develop a Droid game. I can code it, but I'd like to see if there's some easier way than what I have planned now.
My game needs to know the relative distance between multiple droid phones and one central droid phone (all running my game). I have two theories on how that might be achieved.
1: require a particular GPS program be installed on each phone, and use that data to calculate the distance, or
2: Have one phone put out a signal of some sort, and have other phones use the amplitude of the signal to determine how close they are.
Is anyone familiar enough with this stuff to recommend a solution, or shall I blaze a trail? Thanks in advance!