Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4596246
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T23:05:16+00:00 2026-05-21T23:05:16+00:00

Yeah, I’m currently wondering about this. In my use case the devices will be

  • 0

Yeah, I’m currently wondering about this.
In my use case the devices will be 50cm to 10m apart and I’d like it to be accurate to at least 10 cm. (Therefore GPS is not an option)

2 Ways spring to mind:

Sound: I asked about this in the dev forums and I’m in contact with laanlabs, about the code of their sonar ruler.

Picture on one device + Camera on the other: Seems easier to set up, since my user case involves the user facing one device at 90 degrees anyway. But it would be more work for the user to face the camero into the direction and it would not react to a change in distance.

Now the question: Is anyone aware of any code that does something like this already? Possibly a non-iPhone general c-Project?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T23:05:17+00:00Added an answer on May 21, 2026 at 11:05 pm

    Method with camera: we already know size for each device. You take a picture of device, calculate it’s height/width to determine type of device (iPhone/iPod or iPad), than calculate a distance.

    For example – if device is iPhone you know, that its size is 115×58 mm. On picture it NxM pixels. Now you can calculate the distance. (If N & M smaller hence distance is larger)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Yeah, its a bit on this side of pointless, but I was wondering... I've
So yeah, like I said, I've spent a few hours trying to fix this
Yeah, it works in my firebug console. Why does something like this present no
Hello yeah I'm asking this question a second time, sorry about that but I
Yeah, this is indeed my third or fourth question about jQuery UI Autocomplete. My
Yeah I've drawn a blank on the this one, and after playing about with
Yeah, I know this seems like a dumb question, its just a one-off hack
Yeah this works in FF and Chrome, but for some reason wont work in
So yeah, I'm a Java guy in this crazy iPhone world. When it comes
Yeah, there's this cool myLabel.adjustsFontSizeToFitWidth = YES; property. But as soon as the label

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.