15
votes
8answers
13k views
Error Inflating class com.google.android.maps.MapView
i am just following a simple map tutorial http://developer.android.com/resources/tutorials/views/hello-mapview.html but getting this error . I am new to android i tried to follow all the solution ...
15
votes
2answers
26k views
Parse JSON object with string and value only
I have problem when trying to parse with minimum value to map in Android.
There some sample JSON format with more information ex:
[{id:"1", name:"sql"},{id:"2",name:"android"},{id:"3",name:"mvc"}]
...
15
votes
4answers
9k views
Rotate MapView in Android
I am writing an Android app where one of the features is that the map will rotate according to the compass (i.e. if the phone is pointing east, the map will be oriented so that the east side of the ...
12
votes
5answers
13k views
Get coordinates on tapping map in android
I'm trying to make something like this: I have a mapactivity and when the user taps the map it shows the coordinates of that location. I already overrided the onclick method but it isn't even called. ...
12
votes
1answer
768 views
Weird MapView problem; PixelConverter Error
I have an application based on the MapActivity. The application drops
ItemizedOverlay items on the map as you start to move about. It has
been running with no problems until I dropped it into a ...
10
votes
2answers
24k views
Help creating an Android GPS tracking application!
Recently I've taken up android development as a hobby and was looking to develop an application that can find and track a users position using Google Maps.
Once the application has a GPS lock, The ...
9
votes
1answer
5k views
Custom infowindow in Google map android v2
I am using Google Map API V2 and i have created a custom info window for a marker on map.In this info widow i have a button.
My problem is Unable to set clicklistner/functioning to that ...
8
votes
1answer
955 views
While Make sign APK of Google map (Failed to load map Could not contact Google servers) this error accured.
In my application
I will implement google map example
My One Confusion
1. When i directly run the application the map will run perfectly
2. while i can make sign apk (make Key Store file and ...
7
votes
5answers
10k views
Different named Markers on Google Android Map
i want to add many different markers on an android map. My code works good so far with the same overlay over and over again:
mapOverlays = mapView.getOverlays();
drawable = ...
7
votes
5answers
8k views
Android:Passing a hash map between Activities
I have a map between string and a class object. I populate this map in Activity1 and i would like to pass it to activity2.
public class NEW extends Activity {
public class data {
...
7
votes
4answers
814 views
I want to make an Android app with a map that provides directions, but not Google Maps
I want to make an Android App that loads a map that I have created of the inside of a building. I want it to provide directions between one room to another. And between floors if possible.
I would ...
6
votes
3answers
2k views
How to detect Google MapView movement in Android?
I'd like to dynamically update the map/ load new map overlays every time my user moves it a certain amount of distance. How do I go about doing this? Is there a listener for every time the user moves ...
6
votes
3answers
3k views
Problem with large number of markers on the map
I am working on an Android app that already exists on iPhone.
In the app, there is a Map activity that has (I counted) around 800 markers in four groups marked by drawable in four different colors. ...
6
votes
2answers
2k views
Is it possible to use a MapView without having to extend MapActivity?
Currently in my design I've got a base abstract class that all of my activities extend from, however I discovered recently that in order to use a MapView you need to make your activity extend ...
6
votes
1answer
304 views
MKCoordinateRegionMakeWithDistance equvivalent in Android
we can set the surrounding area for particular location on map in iPhone as following
CLLocationCoordinate2D coord = {latitude:37.09024, longitude:-95.712891};
CLLocationDistance latitudinalMeters;
...