- Home /
Is There A Way To Use GPS Data On A Mac Stand Alone build?
So far all I have been able to find is the Location service working on Android devices, but what about if you are making a Stand Alone application for Mac? Is It possible to use GPS location for such and application? And IF Not Why? You would think this would be a useful option.
Answer by tanoshimi · Dec 13, 2016 at 02:58 PM
No, the documentation for Input.location specifies it is available for handheld devices only.
The reason I would have thought is simply because the vast majority of standalone computers do not have GPS built-in (do any?), whereas the vast majority of handheld devices do.
I think my mac book does as it knows my location whenever I visit certain sites for shops online. Google maps shown my exact location overtime I use it on my mac book.
Ah O$$anonymous$$, I thought it might be GPS.... ....What about using a GPS device hooked up to an arduino and reading the GPS data in through the serial port and using he data that way?
You know there are things called GPS mouse which are just GPS receivers ment to be plugged to a PC. Those existed even before the first "Smartphone" was build. I still have 2 or 3 of them, however all with an RS-232 interface ^^. They usually use the N$$anonymous$$EA text protocol which is very easy to read.
Ah I see, so I could probably use something like that just plugged into a USB port and use the data to show location on a map placed not a UI canvas.?? Is there a tutorial anywhere on how to do that?