Fake location for the device (custom)

Posted by AtomRiot on Stack Overflow See other posts from Stack Overflow or by AtomRiot
Published on 2010-05-21T20:55:37Z Indexed on 2010/05/21 21:20 UTC
Read the original article Hit count: 151

I know there are a few apps out there to fake a devices location but specifically what i want to do is use a location grabbed from a url.

What direction should I look for setting the location on the device.

The scenario i have is a jailbroken Wi-Fi iPad tethered to a nexus one. The nexus one would host a background service that when a request is recieved, it would respond with gps data of its current location. The jailbroken ipad would have a background service that either updated the location on a time interval, or on a per request basis (depending on how i have to implement it) by submitting a request to the tethered nexus one service. That data would then be set on the ipad and an application requesting location would get the service data.

The goal is to recreate the location faker app's functionality with the exception of the spoofed location comes from the nexus ones gps via the service but i have not yet found out how to set the location data for the device. I can ofcourse implement this in a per app basis but it would be awesome to have any app be able to use it.

© Stack Overflow or respective owner

Related posts about iphone-sdk

Related posts about cllocationmanager