gps

Can “overlay” size be zoomed together with the google map on android?

不问归期 提交于 2019-12-02 19:41:28
I have been able to use "MapActivity" and "ItemizedOverlay" to draw overlays on google maps on android with Eclipse. But when the map is zooming in and out, the overlay does not change size. I want the overlay to be "fixed" on the map, and zoom in and out along with the map. How can this be done? I can't find the tutorial to define a boundary (e.g. with GPS coordinates as corners for the overlay image). Please provide links if you know some. and any other ways of doing it? Many thanks. Yes, there is. I had the same issue with my application. Here's an example and it works perfectly. The circle

How to get GPS Coordinates from all the users of my application?

大憨熊 提交于 2019-12-02 18:55:57
Explanation/Scenario: I am developing a app that needs to get in real-time(like 3sec's update) the location of all users of mine app, and these users knowing that, too, will see the another users location, in a map, for example: This location, needs to be in real-time, because all of the users have access to the map, they need to know where are the users of the app, in the exact moment, to find them selves. Question: What i need to do to make my application get in real time the location of all of the users in gps coordinates( for later use on the map )? Obs: I am not asking a full application,

How to get gps location once for 5 mins android?

回眸只為那壹抹淺笑 提交于 2019-12-02 18:37:51
hi there can anybody give me a sample code for get location for every five minutes please i have tried and i can get location once by cliking on button, but i need it to be displayed once for five minutes. thank you this is my code : public void checkLocation(View v) { //initialize location manager manager = (LocationManager) getSystemService(Context.LOCATION_SERVICE); //check if GPS is enabled //if not, notify user with a toast if (!manager.isProviderEnabled(LocationManager.GPS_PROVIDER)) { Toast.makeText(this, "GPS is disabled.", Toast.LENGTH_SHORT).show(); } else { //get a location provider

Developing a GPS car tracking system

混江龙づ霸主 提交于 2019-12-02 18:23:40
I'm in the brainstorming phase to develop a GPS car tracking system requested by a customer. I myself know the directions to build some GPS system to mobile phones and etc. But sincerely I don't know how to start in that project. That is the scenario: 1) The cars will get a device with a SIM CARD that will emit GPS signals. 2) My customer will in any place (home, work, etc) with a web connection will see in the map where the car is located. For me, I have not problems at get the GPS data, convert to usable info and show the position in some map system (like Google Maps or MS Bing Maps, by

Difference between LocationRequest setInterval (long millis) and LocationRequest setFastestInterval (long millis)

天涯浪子 提交于 2019-12-02 17:50:00
I am writing my own background location updates for interval of every 5 minutes in android. I would like to know the difference between setInterval and setFastestInterval When I setInterval to 5 mins and setFastestInterval to 2 mins. The location update is called every 2 mins. I would like to know the difference. I couldn't understand what exactly is written in the developer page for this https://developer.android.com/reference/com/google/android/gms/location/LocationRequest.html Also: Is there an inbuilt function to check the location updates only if the distances of the first update are more

Location object passed into onLocationChanged is null?

喜夏-厌秋 提交于 2019-12-02 17:43:44
问题 I have an activity that implements LocationListener in my application and my onLocationChanged method has been working perfectly up until recently. For some reason the Location object being passed into the method is null. My question is, why is it null? Does it pass in a null object if it cannot acquire a location? My GPS is on and I have it set to pull a location from the GPS, and I know my GPS can get a fix on me as I used Maps and had it locate me. Also, I have the permission for my app

DGPS corrections on Android

夙愿已清 提交于 2019-12-02 17:32:41
I am developing a project that is intended to use the GPS capabilities of an Android phone and a nearby station to compute positioning to a much more precise degree (cm), using RTK DGPS technology. So far, I haven't been able to see anyone saying they actually managed to perform a similar task (apart from @GPSmaster, who doesn't explain how ), and the APK doesn't seem to offer any information from the GPS chip other than location and NMEA message updates. I need, if possible, pseudo-ranges and carrier phases. I was wondering if: It would be possible to look for lower level hooks on my phone

GPS library for .NET compact framework

六月ゝ 毕业季﹏ 提交于 2019-12-02 17:20:35
I'm thinking of writing simple application for Windows Mobile devices, where user could simply enter destination coordinates, and the app would calculate distance and show direction to the destination. But I haven't found any Free , preferably Open Source library with simple API to work with GPS . Guido García I recently used open source SharpGPS . It's supposed to support more devices than the example in the SDK, but both solutions work on all my hardware. SharpGPS did make it easier to access more structured information, such as satellites in view and where they are, and has a brilliant

Can iPhone web apps get GPS position?

家住魔仙堡 提交于 2019-12-02 17:11:30
Is there an easy way to design a website to facilitate an iphone user providing gps coordinates to the site? I am wondering if there might be a naming convention for form fields for example, to let the user input in an automated way. I am considering building a location based website and would like to tailor it for iphone (and other mobile users). I realize an iphone app could do this but I'm not equipped to create one. Here's a snippet on how to read location from the iPhone. Looks like it requires 3.0: navigator.geolocation.getCurrentPosition(foundLocation, noLocation); function

GPS coordinates: 1km square around a point

可紊 提交于 2019-12-02 16:49:28
I was hoping someone out there could provide me with an equation to calculate a 1km square (X from a.aaa to b.bbb, Y from c.ccc to c.ccc) around a given point, say lat = 53.38292839 and lon = -6.1843984 ? I'll also need 2km, 5km and 10km squares around a point. I've tried googling around to no avail... It's late at night and was hoping someone might have quick fix handy before I delve into the trigonometry... I'll be running all this in Javascript, although any language is fine. If the world were a perfect sphere, according to basic trigonometry... Degrees of latitude have the same linear