gps

How to retrieve the GPS location via SMS

南楼画角 提交于 2019-12-03 20:15:34
问题 I made an Application that gives me the location of my Android phone. Now I want to make a method that helps me to retrieve the GPS location of my phone (latitude longitude or the address if possible) with an SMS. Exemple: phone number 558899. I send an Sms with "get location" to 558899 an get a message back with the coordinates. 回答1: this may help: "Capture" incoming SMS: http://www.codemobiles.com/forum/viewtopic.php?p=95 Send SMS: http://www.anddev.org/how_to_send_sms-t552.html Edit: Dead

Calculating Speed for a navigation app without getSpeed() method

一世执手 提交于 2019-12-03 19:04:56
问题 I am developing an app which is more of a time-shift racing between your friends. I need to calculate speed of a moving vehicle, and I don't want to use Location.getSpeed() method. (Explained in detail in the bottom why I don't want to use it) I am trying to calculate speed with the help of Latitude and Longitude available to me, and this is where I need help. The help needed: I would want to know is: If the algorithm is correct Should I calculate in Centimeters instead of meters And if there

How to turn on the GPS on Android

女生的网名这么多〃 提交于 2019-12-03 18:51:19
问题 I am developing an android app which needs to activate the GPS. I read a lot of topics in a lot of forums and the answer I've found is: it's not possible But... the "Cerberus" APP turns my GPS on... so... it's possible! Can anyone help me with this? 回答1: No it't impossible, and inappropriate. You can't just manage the users phone without his authority. From Play Store: "Cerberus automatically enables GPS if it is off when you try to localize your device (only on Android < 2.3.3) and you can

Excel VBA open folder and get GPS info (Exif) of each files in it

佐手、 提交于 2019-12-03 17:29:16
Guided by Jzz and David on another post, I discovered a VBA userform and modules that can be imported to Access DB or Excel that will ask you to select a file and it will display the EXIF external info of that file particularly GPS Longitude, Latitude, and Altitude. My question is how do I convert this so it opens a folder instead and retrieves the GPS info on each of the files in that folder. I know it may need to loop through the contents of a folder but I have no idea how to convert this. Please see attached file and open it as Access DB. I was only able to transfer it to Excel but the code

Draw a map with gps markers and save this image to file

蓝咒 提交于 2019-12-03 17:23:21
I have some GPS position recordings, which I want to draw into a map (e.g. OpenStreetMap) and save this as an image file. I'm using python. I've found osm-gps-map as a candidate library to do the visualization, but apparantly the API lacks some functionality to satisfy all of my needs. What I need is a library that does: draw stuff into a map (e.g. an OSM-based map), i.e. a list of GPS positions. automatically adjust view (scale/position) to fit in all drawn positions save this view to an image file I seriously want to avoid being forced to manually make a screenshot from a widget or a browser

Converting GPS coordinates to X, Y, Z coordinates

岁酱吖の 提交于 2019-12-03 17:22:34
So here is the basic problem. I am currently working on a GPS system in C# in Unity 3D (the person that has given us the assignment is making us use this program, so I can't do it in anything else). Now I've run in to a small problem, basically we are able to request (what we think are decimal) coordinates from an android phone, but now we are trying to convert those coordinates to X, Y, Z coordinates. Preferebly X and Z, because we do not actually need height. However everything we have been finding on the internet so far has been for a conversion to a sphere map where as we just have a basic

Android - Can I set first priority to GPS to get current location in google map?

ぐ巨炮叔叔 提交于 2019-12-03 17:08:48
I want to configure location settings such a way that first priority to get current location using GPS, If GPS is not available than get network provider's location otherwise not. Currently I am getting netwrok provider's settings only. I have set android menifest as below: <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" /> Sencha code to get GEO location: Ext.create('Ext.util.Geolocation', autoUpdate: true,

Xcode: How to show GPS strength value?

流过昼夜 提交于 2019-12-03 17:05:01
问题 I am trying to get the GPS strength value to show if the signal is strong or weak. Does anyone know how to get the value. Thanks in advance. 回答1: use the properties of CLLocation like horizontalAccuracy and verticalAccuracy which indicate how accurate the device believes that location fix to be. and u can use if (someLocation.horizontalAccuracy < 0) { // No Signal } else if (someLocation.horizontalAccuracy > 163) { // Poor Signal } else if (someLocation.horizontalAccuracy > 48) { // Average

MyLocationOverlay disableMyLocation() not seeming to work

我的未来我决定 提交于 2019-12-03 16:42:40
Just wasted 3 hours trying to figure out why the GPS icon is still showing up in the notification bar when my map activity is paused. I've narrowed it down to having to do with the MyLocationOverlay object I'm using (I also have a LocationListener and a GpsStatus.Listener). @Override protected void onPause() { super.onPause(); manager.removeUpdates(locListener); manager.removeGpsStatusListener(statListener); myLocOverlay.disableMyLocation(); //!doesn't seem to work myLocOverlay.disableCompass(); } If anyone has any idea why this is happening please help so I don't pull all my hair out. I can't

Fused Location Provider not getting location unless GPS is on

一个人想着一个人 提交于 2019-12-03 16:32:38
问题 So I have implemented the new Fused Location Provider API to get a location of the user but for some reason, I cannot get any location unless the GPS is on. Not always, will users have their GPS on and I would like to not have to ask them to turn their GPS on every time the load the app. How can I tell the API to give me a location with whatever provider it has available? Here is my code: public class FusedLocationService implements LocationListener, GoogleApiClient.ConnectionCallbacks,