gps

How do I remove only the network provider if my listener listens for both network and satellite gps?

别等时光非礼了梦想. 提交于 2019-12-11 09:56:43
问题 Here's the scenario. I need to prioritize getting GPS from satellite. However if indoor, there will be no new locations received. What I did was if there's no new location received after 2 minutes, then I will switch to network GPS. However, what if the user went outside, the app wouldn't know because it's already listening from network GPS, it will not receive locations from satellite anymore. so it would be better if I could listen to new location updates, weather be from satellite or from

Convert Google maps link to coordinates

て烟熏妆下的殇ゞ 提交于 2019-12-11 09:55:14
问题 How do I convert a Google maps link to GPS coordinates? (I think 10°11'12.0"N 13°14'15.0"E is an example of a common GPS coordinate format.) The reason I ask is that Google Maps for Android (I use Samsung Galaxy Note 3) does not seem to give coordinates. It will only give Google links. (Any instructions with right click can not be followed in a phone, only in a computer.) For example. How do I convert the following link to find the coordinates of the Eiffel Tower: http://goo.gl/maps/VqEsU I

Android Google Map not showing my location?

会有一股神秘感。 提交于 2019-12-11 09:53:57
问题 I am currently working on a Google Map current location application. Everything is good and there is no error detected. When I run my application, Google Map is able to load but is not showing my current location. So I put my logcat here and please someone help me. Is it related to the "Asset path '/system/framework/com.android.media.remotedisplay.jar' does not exist or contains no resources." ? I did some research on this but could not find the solution. 1882-1882/com.example.yan.basicmap I

Check GPS signal [duplicate]

谁都会走 提交于 2019-12-11 09:48:40
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: How to detect whether GPS signal is weak or high? Is there any possible way to know that the GPS signal is week ? Such as the user in the building then the GPS may not send data. This is the reason why I want to check the GPS signal. 回答1: There is no specific way to do that. I usually follow a time-out approach where you can wait for about 30-45 seconds to get a fix and if you do not get a fix within that time,

iOS: get Accurate Reverse Geocoding using CLLocationManager?

拟墨画扇 提交于 2019-12-11 09:34:28
问题 Background: I want to allow users to get their location within seconds when they want it. However, the location is mostly inaccurate. I want to ask the user to if they would like to try again for a more accurate address. Question: How to code such that it guarantees that the next guess, is always better than the last guess. What I have tried: CLLocationManager *locationManager; - (CLLocationManager *)locationManager { if (locationManager != nil) { return locationManager; } locationManager = [

How to read the current location in a blackberry application

风格不统一 提交于 2019-12-11 09:24:26
问题 How do I read the latitude and longitude of current location in a black berry application? 回答1: Look at using these classes: LocationProvider, Location, QualifiedCoordinates. LocationProvider provider = LocationProvider.getInstance(null); Location loc = provider.getLocation(-1); QualifiedCoordinates qc = loc.getQualifiedCoordinates(); //Call getLatitude() and getLongitude() in QualifiedCoordinates object. 来源: https://stackoverflow.com/questions/4366609/how-to-read-the-current-location-in-a

How to write GPS coordinates to EXIF data on Android

寵の児 提交于 2019-12-11 09:18:06
问题 I'm trying to write a geotagging app where the user selects an image form the photo gallery, and then that image gets the current GPS coordinates written to it through its EXIF file. So far I am able to pull up the gallery, select an image, and find my current GPS coordinates, but I cannot write those coordinates to the EXIF file. Whenever I do select an image, I can view it, but no data is written to the EXIF file. I have looked up several examples for how to write to EXIF, and my code looks

Geofence for xamarin crossplatform

时光怂恿深爱的人放手 提交于 2019-12-11 09:08:33
问题 I currently implemented a geofencing plugin for xamarin from DevEddy (I used this because it had a sample project and it was updated more recently). And it kind of works correctly. The problem: When I set my android Location mode/proviedr settings to "Use GPS only (Device Only)" Instead of gps,wifi,mobile networks and run my app it breaks, and send the following error: Android.Gms.Common.Apis.ApiException: 1000: The whole output: Unhandled Exception: Android.Gms.Common.Apis.ApiException: 1000

android location services - determine country region from user current location

流过昼夜 提交于 2019-12-11 08:38:11
问题 I'm writing an Android app, which uses location services. I want to detrmine the country region, in which the user is located. How can I achieve that ? 回答1: You can make a use of the Google Geocoder API http://code.google.com/apis/maps/documentation/geocoding/ All you need to do is to make appropriate query, e.g in the request to the Google Geocoder providing the user's location in Latitude and Longitude format (in the url), and then parse the JSON/XML response. You can see that in the

Real-time two side push communication via GPRS?

故事扮演 提交于 2019-12-11 08:26:37
问题 Here is a use-case from the document which describes Volvo Buses' IT system: While driving a bus a driver continuously gets real-time information about the route, next stops and information about how he is doing according to the time-table. The vehicle’s deviation from the timetable, displayed in real-time, both in real figures and as a easily interpreted graphical “meter”. The information is constantly updated. All that information is sent to the on-board computer from the Central System via