Android :: Google Maps & Apps With Mapview Have Different Current Positions Options
Jul 20, 2010
It seems that the problem is in the data quality of the different map provider that are used for Google Maps and MapView in SDK, which differ.
The map tiles coordinates don't seem to be very accurate, just like in the public google maps web api / tiles.
See this screenshot for an example, where I pinned the same geo point. http://img339.imageshack.us/i/gmaps2.png/
The map using the public map api is off a few hundred meters. Seems that we just have to live with it.
CODE:................
View 2 Replies
Jul 20, 2010
I have a mapview where I want to track the user's current location. GPS as well as 'use wireless networks' is activated in my phone settings.
Nevertheless, since I'm indoor I don't get a GPS fix, therefore the location is determined via network; wifi spot is available.
I have the Google Maps app running as well as my application running.
Strangely, the current location differes between Google Maps and my application, where the Google Maps is very accurate while in my app the location is somehow off a few 100 meters.
In my application I basically do the following (for debugging purposes now):
1) initially place one marker on the map: geopoint retrieved via locationManager.getLastKnownLocation(LocationManager.GPS_PROVIDER);
2) initially place another marker on the map: geopoint retrieved via locationManager.getLastKnownLocation(LocationManager.NETWORK_PROVIDER);
This will put the last known locations of both providers onto the map (eventually last known from outside my app).
3) then for the regular updates (since I don't get a GPS fix anyway indoor here), I do:
locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, baseLocationListener);
You can see for the frequency and distance I pass the 0 param in both cases.
In the app manifest, the following permissions are granted:
android.permission.ACCESS_COARSE_LOCATION
android.permission.ACCESS_FINE_LOCATION
android.permission.ACCESS_MOCK_LOCATION
Actually my baseLocationListener does get called, which I see in the log, but the updated location is somehow the same as the last known current position (of LocationManager.NETWORK_PROVIDER), same lat/lng.
I thought maybe I overlooked something or missed a parameter or setting, or my code has a bug. Therefore I installed some other (3 in total) LBS apps from the Android market that also show the current user's location. The current locations displayed in those apps are equals to the one in my application - and they're all some 100 meters off - but at least all the same.
See the screenshot here:
http://img33.imageshack.us/img33/8679/mapproblem.png
Now I am wondering:
1) as I understand, getLastKnowLocation is system-wide and not app-wide, why are there differences between the location in Google maps and all the other apps?
2) does Google Maps not update the lastKnownLocation of a provider?
3) does Google Maps use a different custom location provider (i.e. due to licensing reasons) other than GPS_PROVIDER or NETWORK_PROVIDER as they are in the SDK?
4) how do achieve the same accurate result with the NETWORK_PROVIDER like Google Maps does?
View 2 Replies
View Related
Aug 1, 2010
I wonder, how can I draw a nice flight route between 2 points on a google map's MapView? look at this: http://maps.forum.nu/gm_flight_path.html
View 6 Replies
View Related
Mar 29, 2010
i am new to android development. I got an error when write the code "import com.google.android.maps.MapView; in eclipse. The error is "The import com.google can not be resolved."
View 2 Replies
View Related
Nov 13, 2010
import android.app.Activity;
import android.os.Bundle;
import android.widget.LinearLayout;
import android.view.ViewGroup;
import android.widget.*;
import com.google.android.maps.MapView;
public class MapView extends MapActivity{
/** Called when the activity is first created. */
LinearLayout linearLayout;
MapView mapView;
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.map);
mapView = (MapView) findViewById(R.id.mapview);
mapView.setBuiltInZoomControls(true);
MapController mapController = mapView.getController();
}
}
View 2 Replies
View Related
Nov 14, 2009
My google maps identifies me in india despite havving active network and wifi connection...anybody else have this issue and can it be fixed?
View 2 Replies
View Related
Aug 21, 2010
I used to really love the Latitude interface, when I clicked on a friend in Latitude, I got a screen with many options, including Navigate to, send text, etc.
One really cool feature on this screen was "what's nearby" which showed stores etc. that were near my friend.
Also, the background was black and the text was white.
NOW (after the last update): I lost the "what's nearby" feature AND the background is white and the text is black.
What can I do? Is there a way to revert maps to the older release?
View 1 Replies
View Related
Aug 5, 2010
I'm currently developing an app for Android which uses google map service. Because users will be able to see thousands of markers I would like to load only those which are currently within the map bounds (i.e. when user look at specific map tile). I know how to do it with javascript/html. However, Android doesn't seem to provide any similar methods such as containsLatLng(latlng) or getBounds (I only found getLatitudeSpan and getLongitudeSpan, but don't know how can I use them in order to achieve the similar effect). Can anyone give me some hint on that?
View 4 Replies
View Related
Apr 16, 2014
I am using Nexus 4 Bought from US thro my friend.Current Android version id 4.4.2..My Service Provider is Airtel. All my google applications like Gmail, Maps, Play,Google Plus are working fine in WIFI.But when i try to refresh or update these application thro Airtel 3g,i am getting No Connection Error.
All my 3rd party apps like Facebook,Whatsapp are working fine in 3G.
View 3 Replies
View Related
Aug 31, 2010
The Google map is too older for me, so I create my map in Google map and add some lines and marks. Is there a way to show my maps in MapView?
View 2 Replies
View Related
Nov 27, 2009
I'm trying to learn the Android SDK but I have a problem, and no issue found on this group.
In fact: I have an object "Store" with the properties "Latitude" and "Longitude". I want put a button which launch the google maps app and which prepare the direction, like that.
View 3 Replies
View Related
Jun 4, 2009
I'm following this tutorial here: http://developer.android.com/guide/tutorials/views/hello-mapview.html
and am on point 11
Here's the res/layout/main.xml:
CODE:........
Here's the code:
CODE:........................
View 2 Replies
View Related
Sep 7, 2010
I just received a HTC Desire to test on. I noticed, that a mapView residuing in a frame smaller than a whole screen is not as sharp as a generic maps application. Is there any solution to this?
View 2 Replies
View Related
Nov 15, 2009
Has anyone else noticed a process that shows up as "com.google.android.apps.maps:" in TasKiller?
It does not seem to die and I have two copies of it in my task list.
It also appears that it has a second line of text that is not displayed... Maybe that is why it won't die?
I wanted to blame it on "Car Finder - Cinn Dev -CinnDev.com" but it still ran after an uninstall.
I have my location turned off in google maps as well as Latitude (I believe..)
For that matter, I never used Voice Dialer and Corporate Calendar. How do I turn them off?
View 2 Replies
View Related
Sep 25, 2010
I use the google code from devloper.android.com I use that application but in the emulator it shows only the crossed lines not the map so is there any settings in emulator for displaying maps
CODE:.....
Android mainfest
CODE:..................
View 4 Replies
View Related
Jun 2, 2010
I am facing to android application signing problem. My application contains Google MapView. When I compile the app and run on the emulator, MapView works fine. But signed the app, MapView doesn't work. I've get Google Map API. This works on the simulator. I could sign the app once 2 months ago. Then I've upgraded the app. Now I need to sign the app again. Actually I don't know why signed app's mapView doesn't work. How to fix it?
I used following steps when sign the app: Run Eclipse. Select the project. Right Click -> Android Tools -> Export Signed Application Package -> Then Filled forms. (In forms, Validity years: 200, and all passwords are same.)
View 2 Replies
View Related
Jan 30, 2009
Now, I'm developing an Android app called "Echo". But 5 hours ago, My Dev phone haven't displayed MapView. First, I supposed that my API-key have been disabled. I tried to Maps API Key signup agian. But google server response error.
> Server Error > The server encountered a temporary error and could not complete your request.
> Please try again in 30 seconds.
View 4 Replies
View Related
Apr 19, 2010
I don't know how to create an custom Activity extending MapActivity and ListActivity ?
I am trying screen that contains of google map and list view.
How to make it?
View 1 Replies
View Related
Aug 31, 2010
Just wondering if there is a standard/default overlay/marker that I can use in the MAPVIEW?
I have been searching on the web and all tutorials talk about extending the Overlay and put your custom image on it.
Is there a easier way? I just want to have the a marker, nothing fancy.
View 1 Replies
View Related
Jul 12, 2012
what is the path to the offline map files saved by Google Maps 6.9?
View 9 Replies
View Related
Jul 16, 2010
I had found a lot of stackoverflow post about save an Activity and the reload it.
My question: How can I have an Activity with an MapView and after reload the same mapview?
What is the best way to switch between activity and views?
View 2 Replies
View Related
Oct 24, 2010
I was wondering if someone could confirm one way or another if I can use my paypal account to pay for apps?
I'm just about to get a desire and don't have a google checkout account and would rather keep online financial details to a minimum.
View 2 Replies
View Related
Jun 4, 2010
I finally got my Evo today. I have to sync it with Outlook to keep this phone and I DESPERATELY want to keep this phone over my Blackberry. Syncing over the air via Google is out of the question because Google taints my work data is several ways. Not to mention that notes and tasks aren't supported by the Google OTA sync.I tried CompanionLink but it does not work with my Outlook system. It hangs up halfway through, and the troubleshooting says that it is likely a "corrupt" record in my calendar. "Calendar Record 22" whatever the f*ck that is referencing in Outlook.SO. Do I have any other options for syncing my memos, contacts, and notes from Outlook to the phone? Please say yes.
View 49 Replies
View Related
Mar 5, 2009
Is Google Latitude available in the UK or not, because it doesn't seem to be working for me? I have received the RC9 update for G1 and have Google Maps 3.0. Is there an a Google Latitude application that I should have or do I access everything through Google Maps? When I go the www.google.com/latitude on my G1, it offers me the option of "launching" Latitude but it just takes me to Google Maps. From there, I cannot see the locations of my Google "friends" (who have agreed to show location), neither does my own location show up on the Latitude homepage on the web (I have settings turned to "detect my location automatically").
View 13 Replies
View Related
Nov 20, 2010
I think google maps/nav is great, the only problem i have with it is choosing my route or putting via points in, is there anyway of doing this? on laptop i can create my own route my dragging, and then via chrome to phone i can send it to my phone, but i want to know if there is a better way of doing it or a way that i can do it and just use my phone. any suggestions? if there was a way of adding via points would be good?
View 5 Replies
View Related
Jul 5, 2010
I can't seem to find any options to retrieve apps on my SDK's virtual Android device. Can you direct me to where I may find apps so that I can test them out?
View 1 Replies
View Related
Feb 16, 2010
Got some errors following the tutorial for MapView when i was going to integrate overlays.
CODE:..............
I am trying to learn and i got an awesome app idea which needs mapview, webview, overlays and tabs.
View 1 Replies
View Related
Sep 27, 2009
Has anyone found a way to get the current google e-mail adderss assigned on the phone?
I've tried doing a search for in the contacts with, but it never returns : Uri contactUri = Uri.withAppendedPath(Contacts.People.CONTENT_URI, "owner");
I have found a permssion called "READ_OWNER_DATA" but I don't seem able to find out a way of seeing what the permission allows you to do.
View 3 Replies
View Related
Oct 19, 2010
I'm running Cyanogenmod 6. I just noticed that I can't find Google voice or Google maps in the market. I do have the apps installed, but can't see them int he market to get updates. I tried out LFY1.7 and Ultimate Droid 1.0.0, and see the same issue.
View 5 Replies
View Related
Apr 17, 2013
I'm using the latest version of Google Maps on JB 4.2.2 [Nexus 4]..I noticed that I cannot edit the names of my locations in "My Places" in the phone app. So I used Google Bookmarks (google.com/bookmarks) from my PC to edit/rename My Places. However, the names do not sync or carry through to the Google Maps app on the phone. The names in the app are still the generic names, coordinates or street names.
Is there any way to change the names of My Places and get them to sync with the phone app? Really baffling!
View 2 Replies
View Related