I know I can fake the GPS location for many apps using XPLUA , but one app (the official McDonalds app) is causing trouble.
1) The app constantly checks to see if "Location" is enabled on the device, and it will complain when it is off and I need to turn it on to continue with seeing the "Deals" menu. The split second I turn it on, it allows me to view the deals menu.
2) So I though issue #1 above is not a big deal because even if I enable location, XPLUA will send the app the fake address I specify. But since I disabled "Use wifi/bluetooth to assist location finding" in the android settings, it now takes the device a few minutes to determine my position because it needs to lock in enough satellites (because it can't use wifi/bluetooth).
Not only is this delay a hassle, it seems that the fake GPS location won't be sent to the app until AFTER the phone locks into those satellites. My theory is that when apps want to know the device's location, they somehow register to the device this desire, then wait for android to broadcast an intent (event) with the location data when the device knows it's location
So, is it possible to do these things in XPLUA:
1) Let an app think that the android "Location" is turned on when it is really not enabled.
2) Simulate and send a fake location broadcast intent right away and send the fake gps location to an app even before the device has locked into the satellites.
#1 would benefit privacy because even though I can use XPLUA to send an app a fake location, by enabling "location", then android itself will know my location, which is not preferred.
Any help would be greatly appreciated