Is there a way to tell the layout of 3 smartphones?

Hey Guys,

I have a question maybe some of you will have an original solution…

Say we have 3 smartphones on the table, is there a way to programatically tell which is on the left/middle/right?

That is without forcing the user to mention which is where.

Any direction or idea will be greatly appreciated!

Roy.

I think of a way to detect this. You can show images on the phone screen to indicate where they go. You are going to need big table to use gps by the way. Most gps phone are not as accurate as you think and will probably be of no help in this situation. I think I know what you are trying to. Check out how Google does it: https://www.chrome.com/racer

Hey @scottrules44

Thank you for your comment.

Thing is that the Racer app tells you how to layout to phones, so that is basically what I’m trying to avoid, 

the effect i try to achieve is that given a set of phones on the table, whether it is 2 or 3 or 4… figure out their order from left to right without user interaction.

“You can show images on the phone screen to indicate where they go”, can you please further explain the direction?

Thanks

Roy.

The picture on phone things what I meant the racer app. Thier is no practical way to do what you want in any other way. Until gps is cm accurate their no other way.

Maybe the NFC plugin might be useful to detect device proximity. (I did not read the plugin docs so I don’t know if it might work for your purpose, i just saw the announcement in the forum yesterday)
https://forums.coronalabs.com/topic/63781-from-the-blog-new-community-plugins-nfc-voip-gamekit-and-more/#entry330951

You have to real close for nfc to work. Like 6 inches on most devices. Plus you they have to be back to back. Plus you cannot trake proximity with nfc

I think of a way to detect this. You can show images on the phone screen to indicate where they go. You are going to need big table to use gps by the way. Most gps phone are not as accurate as you think and will probably be of no help in this situation. I think I know what you are trying to. Check out how Google does it: https://www.chrome.com/racer

Hey @scottrules44

Thank you for your comment.

Thing is that the Racer app tells you how to layout to phones, so that is basically what I’m trying to avoid, 

the effect i try to achieve is that given a set of phones on the table, whether it is 2 or 3 or 4… figure out their order from left to right without user interaction.

“You can show images on the phone screen to indicate where they go”, can you please further explain the direction?

Thanks

Roy.

The picture on phone things what I meant the racer app. Thier is no practical way to do what you want in any other way. Until gps is cm accurate their no other way.

Maybe the NFC plugin might be useful to detect device proximity. (I did not read the plugin docs so I don’t know if it might work for your purpose, i just saw the announcement in the forum yesterday)
https://forums.coronalabs.com/topic/63781-from-the-blog-new-community-plugins-nfc-voip-gamekit-and-more/#entry330951

You have to real close for nfc to work. Like 6 inches on most devices. Plus you they have to be back to back. Plus you cannot trake proximity with nfc