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
-1
votes
2 answers

How to refresh google map apiv2

I have a timer.it is running every 5 minute.ı write a method called konumlarıAl in timer run method. this method get locations data from database.When konumlarıAl run,HaritaKonumGoster is method calling.I want to delete all markers and show new…
user3452425
  • 73
  • 2
  • 10
-1
votes
2 answers

Getting long and lat returns a nullpointexception in android map v2

I tried following the tutorial from Google here. I believe I followed every instruction written but I still get nullpointexception when I try to get my long and lat coordinates. It works fine if I press the target icon in the map that redirects me…
philip
  • 1,292
  • 3
  • 24
  • 44
-1
votes
2 answers

can not inflate the fragment code in android

I am new in android and I am getting an error whcih says me can not inflate the view fragment_map in MapaFragment class, then application stops. I am using KitKat api 19. I bring one day with it and I dont understand why the application in android…
Dave
  • 7,028
  • 11
  • 35
  • 58
-1
votes
2 answers

Googlemap error when I change the map view type

I'm facing a new problem with the GoogleMap use. After putting in place a NavigationDrawer, I created a new Fragment for GoogleMap, which is called from the Drawer menu. I did implement the KeyDown procedure to switch the Map view type from Hybrid…
-1
votes
1 answer

How to update the marker whenever user touch on screen?

public void pointLocation(){ if(gmap!=null){ gmap.setOnMapLongClickListener(new OnMapLongClickListener() { @Override public void onMapLongClick(LatLng latlng) { // TODO Auto-generated method stub …
user2273146
  • 1,602
  • 2
  • 14
  • 27
-1
votes
5 answers

Android thread exiting with uncaught exception

I am developing a simple Map. I'm new to this. i had developed using the tutorials provided by maps developing My logcat error Looks like this 01-20 15:13:23.511: W/dalvikvm(28896): threadid=1: thread exiting with uncaught exception…
ImMathan
  • 3,911
  • 4
  • 29
  • 45
-1
votes
1 answer

How can I integrate Google maps v2 in Android 4.0?

Here is my problem: I have been doing this tutorial: http://www.androidhive.info/2013/08/android-working-with-google-maps-v2/ ( and many more but every single one of them gives me error ) I have done everything that it need to be ( permissions,…
-1
votes
3 answers

Current Location program in android not working

all i have simple android application for finding current location ,I have tried some code a sbelow,But its not working.It only shows my static markers only,It doesn't show my vurrent Location marker,So please suggest me for…
jigar
  • 1,571
  • 6
  • 23
  • 46
-1
votes
3 answers

How to get object id from google map marker?

I am using this code to draw markers on google map (hide the ones that are invisible on screen) for (MyMapPointModel item : items) { // If the item is within the the bounds of the screen if (bounds.contains(item.getLatLng()))…
M m
  • 53
  • 8
-1
votes
2 answers

OutOfMemoryError on Google map Application Has lot of markers

i am working on an application which has more then 10000 markers on google map , i am using google map v2 ,and as library android-maps-extensions https://code.google.com/p/android-maps-extensions/. but when i load markers on map it make application…
Imtiyaz Khalani
  • 2,037
  • 18
  • 32
-1
votes
1 answer

Google maps on Android just stopped working

I had working code showing my location on a nice little google map. with out changing any map code suddenly the map is completely blank (a grey grey square) thats it.. using google map api for android v2. all set up with an api key and…
erik
  • 4,946
  • 13
  • 70
  • 120
-1
votes
2 answers

Which account to be used for generating Google Maps V2 API Key

I have used Google Maps V2 in my application and about to submit it to Android play. I know how to create maps api key and use it in application, But I am bit confused on which mail account to be used for creating maps api key. Is it Developer…
amsiddh
  • 3,513
  • 2
  • 24
  • 27
-1
votes
1 answer

Google Direction code is not working on Android 4.03

I'm working on Google Maps application and use a code for finding path between two points, this works fine on Android 2.3.3. But Now, I'm testing it on Android 4.0.3 and it crashes. I thing it need to be converted in AsyncTask but I'm not able to do…
-1
votes
1 answer

Android Performance Issue- TabHost - Timer - SetCurrentTab() - Google Maps Api V2

As i said in title i 've got a performance issue on my Android application. I've got a public static tabhost and a timer and a Google Maps. Timer scheduled to work every 3 seconds. It 's updating something according to my WebService which is related…
-1
votes
1 answer

Google Map Android API v2 getMap() error

Hi I'm trying to implement Google Maps display in my app using Google Map Android API v2, and I am trying to follow the solution in here. Codes seem to be okay except when I tried this part: public class MapFragment extends SherlockMapFragment { …
lyk
  • 1,578
  • 5
  • 25
  • 49
1 2 3
75
76