Questions tagged [android-maps-v2]

The new Google Maps Android API v2 allows you to offer interactive, feature-rich maps to users of your Android application.

With the Google Google Maps Android API v2, you can add maps based on Google Maps data to your application. The API automatically handles access to Google Maps servers, data downloading, map display, and response to map gestures. You can also use API calls to add markers, polygons, and overlays to a basic map, and to change the user's view of a particular map area. These objects provide additional information for map locations, and allow user interaction with the map.

Related tags:

1138 questions
0
votes
2 answers

Blank screen instead map api v2 android

I have spent 3 days, but can't find solution... When I launch map on a device with android 2.2 I have blank screen with zoom-buttons. Logcat shows the error message "E/copybit: Error opening frame buffer errno=13 (Permission denied)". The…
Anton Kashpor
  • 1,255
  • 2
  • 18
  • 34
0
votes
2 answers

Why is my location null? - Android

Why is the value of my location variable null? I'm setting up my LocationManager correctly. Here is my source code: //Get the current location locationManager = (LocationManager) getSystemService(LOCATION_SERVICE); myCriteria = new…
user268397
  • 1,917
  • 7
  • 38
  • 56
0
votes
3 answers

How use the mapView in activity?

In my application am use include other layout to include two view in main XML,in that first view have simple text view only and in second view i have map view.In my main XML file i have two buttons when i click first button to show first view with…
Yugesh
  • 4,030
  • 9
  • 57
  • 97
0
votes
1 answer

getting null on current location on Samsung Galaxy Grand android?

I'm try to run my app on Samsung Galaxy Grand but its not showing my current location. locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE); // Creating a criteria object to retrieve provider Criteria criteria…
duggu
  • 37,851
  • 12
  • 116
  • 113
0
votes
2 answers

Android-- how to draw a line in googlemap-v2

How to draw a link in google map. I am currently integrating the google map V2 into my application. i can able to get the current location also i can able to get the geo location when the onLocationChange happens. But i want to mark a line among the…
0
votes
3 answers

Add Android Fragment to InfoWindow Contents

I'm writing an Android application that targets 4.0 and up and I'm using Google Maps v2. I'd like to set the contents of an InfoWindow with a Fragment. Does anyone know if it's possible? My class implements InfoWindowAdapter and here's the relevant…
themanatuf
  • 2,880
  • 2
  • 25
  • 39
0
votes
0 answers

fragment recreation: the map is no more responsive

I added a google Map programmatically to a fragment (let's say fragment F1). The fragment has this in its onCreate(): mMapFragment = SupportMapFragment.newInstance(); this in its onCreateView: FragmentTransaction fragmentTransaction=…
Bertuz
  • 2,390
  • 3
  • 25
  • 50
0
votes
1 answer

SupportMapFragment runtime error and IntellijIDEA

I'm developing an Android APP and I would like to put in some maps. So, because of some well known IntellijIDEA bugs, I tried to follow some pieces of suggestions I've found here and there to make it work, but I'm still into trouble. So: to import…
Bertuz
  • 2,390
  • 3
  • 25
  • 50
0
votes
2 answers

Trouble Importing android-support-v4.jar

I am trying to do the tutorial Sample Code from the https://developers.google.com/maps/documentation/android/intro page.I import the google-play-services_lib just fine, then I import the /extras/google/google_play_services/samples/maps At this point…
user2439231
  • 15
  • 1
  • 6
0
votes
1 answer

MapView Implementation using V2 - crashes

I am new to Google Maps V2 certification map implementation , but i integrated according to the steps in https://developers.google.com/maps/documentation/android/start but i get a crash . It displays a white screen for a moment and crashes , with…
VIGNESH
  • 2,023
  • 8
  • 31
  • 46
0
votes
1 answer

Polyline disappears when orientation changes - Android - GMaps V2

My MapActivity records a polyline just fine however when I tip the screen on it's side and the orientation changes the polyline disappears? What could be causing this? Here is my code that is recording the polyline: Location…
0
votes
2 answers

Polyline is not being drawn on the Map

I'm trying to get a polyline to be drawn on the map to track my location. For some reason, I'm not sure why my method onMyLocationChanged(location) is not being called and isn't drawing the polyline on the map. This is the method along with the…
0
votes
1 answer

How to return a radius/key-word search of my data using Google Maps Android API v2

I am building a Android app using the Google Maps Android API v2. I have a database of lat/long that Im trying to search and display, either by radius(in miles) and/or key-word based on my current location. What would be the best way to approach…
0
votes
2 answers

FragmentActivity showing blank map on device, what could be the reason behind that?

My problem is that the google maps is not showing on my android device 2.3.0 I am new in android and i am trying to use google map in my app, i have downloaded google play services, also have added adndroidsupportv4.jar, i have generated api key…
Reena
  • 1,368
  • 1
  • 11
  • 25
0
votes
1 answer

Custom Overlays - Google Maps V2 - Android - Trails

I'm trying to use some of my custom overlays from GMaps V1.1 and have a custom overlay that can be used in my GMaps V2 MapView. I've read some tutorials on using Markers to add custom overlays however that's not what I want to. I want to draw a…
user268397
  • 1,917
  • 7
  • 38
  • 56