How reliable is smartphone GPS? Can it be hacked? [closed] - android

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 5 years ago.
Improve this question
If I were to write a mobile app that recorded the GPS location of the device, how certain can I be that the GPS location hasn't been tampered?
To avoid confusion, I'm not concerned with the resolution/accuracy of the GPS, I'm more concerned with security. Can the GPS coordinates be hacked so that my app records an incorrect location?
Can I demonstrate that the GPS coordinates recorded by the app can be relied upon?

Yes, it can be hacked. On Android there's a debugging system that allows fake locations. Or they could always use a custom build of Android that just lies. Never trust ANY data from a client you don't control to be accurate. Even if they couldn't fake the GPS data, they could alter your app and make it upload bad data.

Related

I cannot detect a location inside a building [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I work on an indoor tracking project using android.I used Gps to detect location but it does not work correctly at indoor tracking
How can I solve this problem?
If you GPS signal is bad there are 2 things you can do.
One is: improve you reception (e.g. remove the roof, good outside, replace roof with glass). Now this might be a little ... tricky
The other one is: use a different technique. Bluetooth tracking (BLE beacon) for instance.
You cannot 'amplify' GPS signal. The system works by finding out how long it takes a singal to go from several satallites to your phone. If you 'repeat' or amplify the system it is going to give false results. So you can not do stuff like "put an antenna on the roof", as all your locations would return the location of the antenna.

Tap to exchange data between device A and device B [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
We want to develop application which used to share important data in secure way. Idea is:
Data to be exchanged between phone A and phone B (and vice versa) when users “Tap” the phones together. The date, time and location of this action is to be recorded.
This should work anywhere (in buildings or in rural areas where there is no mobile signal coverage), and work cross platform (iOS, Android, Windows).
we want to know is it possible to develop such application ?
Thanks,
Yes, you can 'bump' phones and send over Bluetooth. You would use the accelerometer of the phones to detect the 'bump' part. The date, time and location you can pull straight from the devices (given you have GPS permission).
It would be a lot of work to develop right, especially across multiple platforms, and I believe an app like that already exists, for sharing contact information.
Also for future reference, you're probably getting down-votes because you're not asking specifically about code. Best of luck.

How to find the mobile current location without using gprs? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I have created an android application, in which i have to find the current location of the mobile. For example using my application i have to find my friends current location.If i enter the mobile number the current location of my friend has to be shown in map.Its not necessary that my friend mobile to be smart phone. How can i track them using their phone number without using GPRS? Please help me.
You can get Location if you have Internet Connection(GPRS or WIFI), otherwise you Can not get Location, Because to get Location, your Phone need to communicate with (Google Maps) and then they get your Longitude/Latitude and then give you the facility.
If you need to check your Friend's Location, for that you need your Friend Latitude/longitude Information.
But you must have Internet Connection.

Detecting that a user has entered a physical location with her Android / iOS device [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
If a user has a particular app installed on her phone but the app is not running in the foreground, what is the best way to detect that she has entered a physical location with the Android / iOS device? Assume that the app has all the required permissions and in the case of Android, there is a background service running every minute.
I can think of polling the GPS but the drawback is that the user might have switched off her GPS.
The same would happen with a possible bluetooth wake-up if bluetooth is off. Ditto for WiFi.
Could something like supersonic sound emitted from a hardware placed at the entrance of the location work? (Something like Tagtile perhaps?)
Which of these 4 would you most rely on? for Android? for iOS? Or would you rather use some other method?
It is possible to track a users whereabouts. While I will not go on to explain how the entire process is done (as it would be the equivalent of writing my own tutorial on the subject), it is gone over in detail in the Apple Docs, covered here(I believe what you are looking for is the CLLocation).
This can even run in the background, as also covered in the Apple Docs in many place, one of them being here.
For an iOS app, that is what I would recommend.
If the user turns off Location Tracking and/or their GPS, I believe you are going to have to deal with it. Tracking a person, when they have not given permission or explicitly denied the permission to do so, is illegal in many countries.
EDIT
Escaping my mind for a moment was the Google Location API. Probably one of the most known and used Location services will get you your tracking for Android.
EDIT 2
If a person has turned off their GPS or Wifi, there would not be a way to tell their physical location. If you were able to track a person when their Wifi or GPS was turned off would classify your app as spyware, and would not be a good idea.

Android indoor augmented reality [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I am pretty new to Augmented Reality so I don't understand something. i.e. I want to create an app that I will give to users at my store [hypothetical]. Whenever they are in my store the app should show info for different sections of the store [i.e. 'this is the tools section' or 'this is the gardening section'].
What is necessary to recognize indoor locations on Android and is in this case an Augmented Reality implementation the only possible solution ? Not sure if GPS coordinates are registered indoor precisely nor whether they'll be registered on that small 'distance' at all..
Have you heard of LLA markers? (Latitude,Longitude, Altitude Markers). They're more accurate than GPS for indoor tracking, but there are limitations (i.e show locations statically... it won't tell you you're 36 , 35 ,34 meters away as you walk towards something).
I would say that Bluetooth beacons is the best way to go. You can also use the strength of WiFi signals but that is vary coarse.

Categories

Resources