gps

Getting the number of satellites using react-native

做~自己de王妃 提交于 2019-12-23 05:13:46
问题 I'm using react-native to create my android application. I've installed react-native-fused-location to get better location. I want to find the number of satellites that my GNSS sensor can find and know how many of them has been fixed. I know that my GNSS sensor can stream NMEA format but I don't know how should i get the NMEA file with react-native. my GNSS sensor has been connected to my android phone by Bluetooth. GNSS sensor is Hi-Target Qbox series GIS data collector. Thank you. Update: I

Android : create simulator without GPS hardware

蓝咒 提交于 2019-12-23 04:55:11
问题 As I got notification from google about the ACCESS_FINE_LOCATION permissions . As I understand if we don't add "android.hardware.location.gps" uses-feature to your manifest it will visible to non GPS hardware device also. If I add that my application wont display to them and I don't want to do that. I want to check that how app is reacting on device that not having GPS Hardware . How can I create simulator for this? Actual message from Google Play Store Action required: If your app requires

JAVA - GPS RECEPTOR sending strange/encoded frames in console

只谈情不闲聊 提交于 2019-12-23 04:54:08
问题 I have a GPS receptor, which send me NMEA frames. My code retrieve these ones, but in a really strange form : I am using PuTTY to see the NMEA frames received by my receptor, and there is no problem. EDIT - Here is the code I am using : public class GPSFrame extends Observable implements Runnable { static Thread myThread=null; static BufferedReader br; static BufferedWriter wr; static PrintWriter out; static InputStreamReader isr; static OutputStreamWriter osw; static java.io.RandomAccessFile

android gps app for traffic application

房东的猫 提交于 2019-12-23 04:51:11
问题 I've currently finished learning the basics of android development and am trying to learn to make an android gps app in smartphones for my traffic system project. Not so very good yet in doing complicated codes. Please advise some resources or tutorials which will greatly help me to make this app. - the app will send gps locations( lat & longitude and time ) via sms every 10 seconds once it approach a specific road section ( can be like 0.5 km length of road) - if the phone passed that

How much accuracy does PRIORITY_BALANCED_POWER_ACCURACY give?

若如初见. 提交于 2019-12-23 04:47:24
问题 I'd like to receive location updates with a certain accuracy for tracking motorcycle riders in a city, which means that an accuracy range of approximatelly 50m to 200m would be reasonable. How do I map this to the setPriority() parameter ? In other words, given current location services implementation and some set of devices (define them ?) does this map to PRIORITY_BALANCED_POWER_ACCURACY or to PRIORITY_HIGH_ACCURACY ? 回答1: For 50m- 200m accuray you need GPS all the time. There is no half

GPS103 Tracker Listening Application in C#

无人久伴 提交于 2019-12-23 04:43:42
问题 I am developing a console based listening app for my GPS tracker in C#, my GPS tracker is configured to send packets on the server with specific port, where my application runs. Now the thing is according to the protocol document of GPS103 It very first sends the string like ##,12345678999121,A which I have already received in my application, but after receiving this string I have to send "LOAD" to my GPS tracker from app which will again Responded by GPS tracker by sending message Logon

GPS tracker coordinate conversion into google maps format and preciseness

匆匆过客 提交于 2019-12-23 04:40:33
问题 I own gps tracker that send latitude and longitude to my server, as it is described in gps tracker manual(example for Latitude, for Longitude the same): xxmm.dddd, where xx = degrees; mm = minutes; dddd = decimal part of minutes; for example 11 deg. 26.6639 min. I`d like to convert received coordinates into google maps format, for this purpuse I am using formula: result = xx + (mm.dddd)/60 since, there is a division result could be presented as periodically fraction, for example - 1.6666(6),

GPS tracker coordinate conversion into google maps format and preciseness

╄→гoц情女王★ 提交于 2019-12-23 04:40:14
问题 I own gps tracker that send latitude and longitude to my server, as it is described in gps tracker manual(example for Latitude, for Longitude the same): xxmm.dddd, where xx = degrees; mm = minutes; dddd = decimal part of minutes; for example 11 deg. 26.6639 min. I`d like to convert received coordinates into google maps format, for this purpuse I am using formula: result = xx + (mm.dddd)/60 since, there is a division result could be presented as periodically fraction, for example - 1.6666(6),

Swift iOS: Closure will not run in background when Remote Notification received

南楼画角 提交于 2019-12-23 03:01:19
问题 I am writing an iOS app that requires the device's GPS loction to be updated when a push notification is received. I use a closure to get the current GPS location. This code runs perfectly when the app is in the foreground (Both "New remote notification" and "Got location" is printed to console), but when the app is in the background, only "New remote notification" (and no location error) is printed to console. As a result I don't have the GPS location of the device at this point, which is

Android/ iOS how to determine small changes in distance using sensors?

被刻印的时光 ゝ 提交于 2019-12-23 02:56:18
问题 I have been doing a bit of research, but I cannot seem to find a way to determine small distances (centimeters and meters) using the sensors in Android or iOS devices. Bluetooth appears too inaccurate and require more than one device, GPS only works over larger variations in distance, and small variations in rotation seem to make using the accelerometer nearly impossible. Is there a method that I am unaware of that would allow me to do such a thing? I am familiar with Calculus, so using