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 Set permissions for marshmallow and above in background service?

i am having service in which i am getting latitude and longitude from background service. The code is working fine but not working in marshmallow and above because i need to set permission but i am not getting how to set permission in…
Richa Singh
  • 603
  • 1
  • 7
  • 16
-1
votes
3 answers

Android app crashing on Google Maps Activity

It is showing the error message that the app is unfortunately closed when I move from the AddReminder Activity to the AddEventPlace Activity. DataBaseHelper.java public class DatabaseHelper extends SQLiteOpenHelper { String tbl_User = "User"; …
Hacan Champ
  • 53
  • 11
-1
votes
1 answer

GoogleMaps functionality error

My app is a geolocation app which silences mobile on entering a geofence.I am able to see googlemaps completely on my debugging apk .however,after downloading it from the playstore,everything works fine except it doesnt show the googlemaps.Instead…
ricardo
  • 144
  • 2
  • 14
-1
votes
1 answer

Google Maps V2 - API key not found Error Message

I am currently having trouble adding google maps, direction and places API. I enabled all the API and I have an API browser key which works as I have tested it out. I was just wondering if anyone is able to help me and resolve the issue I am having.…
Maddie_J
  • 171
  • 3
  • 15
-1
votes
1 answer

Error Running Google Maps Activity on Android Studio Emulator

Update 2: I changed the line the the build.gradle (Module: app) from compile 'com.google.android.gms:play-services:8.1.0' To: compile 'com.google.android.gms:play-services-maps:8.3.0' Now I get error: 'W/GooglePlayServicesUtil: Google Play…
-1
votes
1 answer

Android Java google maps api v2:: how check with markers are within a circle on google maps android api v2

How to check if markers are present within radius of circle and how to enable only those marker which are present under the area of circle? I used circle option to create circle on map on click of marker. I just want only those markers visible which…
-1
votes
2 answers

Markers getting disabled and getting enable when the latitude nad longitude is updated

In my application am plotting the markers from the latitude and longitude from Json when the latitude and longitude is updated in JSON it working fine and the markers get updated.But at sometime the all markers getting disable for a second and…
-1
votes
1 answer

App is not calculating distance and speed android

app runs without errors, i want to calculate distance, when i clicked to button Start it's will be start position and when clicked to Reset - finish position, and it'll calculate distance between Start and Finish position, but it cant calculate…
-1
votes
1 answer

Displaying current location on a map

The code that i wrote is supposed to show the location of the device on a map when the user opens the app.So i tried it on my phone and when i opened it i could see my location, however i walked about 2 km from that location and then opened the app…
-1
votes
1 answer

How to draw Polyline based on current location dynamically in Android

Hi i am developing a application where i tracks users current location periodically and update the path in Google map by drawing polylines . I am Not sure how to do that. Please Help me Out in this issue.
-1
votes
1 answer

Unable to start activity java.lang.NullPointerException

I'm trying to use google maps in my app . I have added library and all things required but app terminates with NULL Pointer Exception. Please suggest me . Thank you in advance. Logcat E/AndroidRuntime﹕ FATAL EXCEPTION:…
manikanta g
  • 298
  • 2
  • 4
  • 17
-1
votes
1 answer

How to insert new data into SQLite

I'm a newbie here. I need to insert new data (Lat,Lng) into a SQLite database, so I can show all the markers from my table. Here is my code, MySQLiteHelper.java. Is it correct? Please help me import android.content.ContentValues; import…
pahlevikun
  • 103
  • 1
  • 4
-1
votes
1 answer

Android Send User Latitude And Longitude On Xmpp Server Using ASmack

I am new in android and xmpp. I am fully setup my xmpp server with asmack library in android. My aim is i want to send user latlng to server and track user on server side map (with php). Now i am sending latlng throw message ( using asmack ) to…
ROONY
  • 3
  • 3
-1
votes
2 answers

How to toast a message when an user come into a particular area in googlemaps

the fixed location's latitude and longitude are (13.060422000000000000,80.249583000000030000). if my device is with in 20m of that location, it has to show the message like you in the area. if going out, it should show you are going out of place.…
-1
votes
1 answer

Show marker on Google Map V2 from database

I'm gonna be doing android app like as show multi-location on google map v2 that point are already stored in sqlte database. But now, I'm facing some problems that doesn't show any location. also don't get any error. What's the wrong it? My code Map…