gps

How to Add Properties For Image UIImagePicker Swift 4

a 夏天 提交于 2019-12-10 12:27:50
问题 I want to capture an image and add properties longitude and latitude, i tried several times every example available on StackOverflow but doesn't work. I use UIImagePickerController to capture image and UIImageWriteToSavedPhotosAlbum to save data to album The property must look like this But now my image looks like this below 回答1: I don't know about what you have tried so far and what is your requirement but according to your question here is an example of setting the location to image

GPS Location takes a few seconds to be retrieved

不羁的心 提交于 2019-12-10 12:04:51
问题 I have written an iPhone app that uses the iPhone's relative GPS location. I have a button in the user interface that does reverse geolocation (pulls the street name bases on the lat and long). The only problem is that the location object as retrieved by CLLocation *location = [[self locationManager] location]; is nil if the user taps the button too soon. I am initializing the LocationManager in viewDidLoad as I don't want to object to be created unless the user actually loads this screen. I

Google Map update with WiFi but not with 3G

牧云@^-^@ 提交于 2019-12-10 11:48:27
问题 I've made an app that determines the location (balloon) and shows it on Google Maps (with roads, city etc) so an active internet is needed. This works fine when I'm using WiFi but not on 3G. It determines the location and the location-output tot Google Maps is allright (including a balloon) but the Maps (with road, rivers, city etc) will not update. Hereby my manifest-settings: <uses-library android:name="com.google.android.maps" /> </application> <uses-permission android:name="android

iOS get current location using GPS device

喜你入骨 提交于 2019-12-10 11:47:36
问题 I want to use CLLocationManager to get the current user location using GPS antenna, not the cellular network. How can I ensure that? 回答1: Your choices is either the standard location service (e.g. startUpdatingLocation , for which you can specify the desiredAccuracy ), or the low-power significant change service (e.g., startMonitoringSignificantLocationChanges ). But you generally don't specify location services based upon hardware, but rather on the basis of your app's functional needs. Use

Android GPS Provider

别说谁变了你拦得住时间么 提交于 2019-12-10 11:46:16
问题 I'm developing an android application that involves the detection of the users' location. What I would like to know is, how does this -> LocationManager.GPS_PROVIDER work? Does it uses the GPS system in the phone or does it uses the mobile company's area network location? Whenever I turn on the GPS system in my phone, the map would not load. It will only be able to detect & pinpoint the location when I deactivate it. I think the application is tapping into the GPRS or something. Thanks. 回答1:

How to geolocate an android device by using Network Location Provider

元气小坏坏 提交于 2019-12-10 11:35:17
问题 I am trying to develop an Android application that can be used to find location of a friend who has also installed the application. The application will find location not using GPS but through Android Network location provider . The person who want to get the location of a friend will send a particular SMS to the friend, the friend phone will then process the SMS in background, find the location using network location provider and reply the requester with a SMS containing the location. So, I

Converting Southing/Easting GPS coordinates to Latitude/Longitude

天大地大妈咪最大 提交于 2019-12-10 11:32:30
问题 I am developing a web application using JQuery Framework and am using Geolocation to determine the locations of our hardware stations to display on Google Maps. In our database the locations of the sites are stored in Southing/Easting format. I need a way to convert Southing/Easting coordinates to Latitude/Longitude that Google Maps can understand. Can anyone please tell me the formula or the best way to approach this problem? I have done searches on Southing/Easting however nothing came up,

Get GPS data from Ar Drone 2.0

坚强是说给别人听的谎言 提交于 2019-12-10 11:23:31
问题 I need the real time GPS coordinates from the AR Drone 2.0 which has the flight recorder in it.And i couldn't find any method to get the values from GPS directly. Is there any way i could get the GPS data from the AR Drone 回答1: Here is what's working for me: var arDrone = require('ar-drone'); var droneClient = arDrone.createClient(); droneClient.config('general:navdata_demo', 'FALSE'); // get back all data the copter can send droneClient.config('general:navdata_options', 777060865); // turn

How to start GPS tracking triggered by a iBeacon in Xamarin iOS?

房东的猫 提交于 2019-12-10 11:09:34
问题 I am working on an app that records journeys by tracking the GPS. Everything is working fine in background if we start the process from the foreground (by tapping the button "Start Journey"). Now the idea is start record these journeys automatically triggered by a iBeacon. When the iPhone gets inside of a beacon region, the app is detecting this and calls the function LocationManager.StartUpdatingLocation(); PROBLEM: Using iBeacons from background, we only get 10 seconds ranging and that is

How to get users Location through GPS with Target API 23 and higher

一曲冷凌霜 提交于 2019-12-10 11:08:46
问题 I am trying to implement a GPStracker in my project which I want to use to get users lat, long and post code. I am following this tutorial; http://www.androidhive.info/2012/07/android-gps-location-manager-tutorial/, however, I can't seem to get the code working and after hours trying and researching I am not sure what I should do. I am fairly new to Android so I am probably making a silly mistake. When I follow the guide as shown on the website posted I get an error message on my code saying: