Tag: google-maps

Disable select button while selecting location of anonymous location using Place picker google API in android

I want to save user form information with location field. For location I want to open google map on some button click and location to be selected when user click on location over map and post-filled location into form. I found place picker as related solution, So I have used Place Picker Google API and […]

Android: Google Map v2 not showing map for release apk

My google map app works fine on device with debug google map API KEY but when I create signed apk for my app with release google map API KEY, it does not display map. To generate release mode google API KEY , i am using SHA1 fingerprint with my keystore. And i am also defining […]

how to set google map fragment inside scroll view

I want to set a Google map fragment inside vertical ScrollView, when I do the map does not zoom vertically, how can I override the touch event listener on MapView over the listener of ScrollView? This is my xml code: <ScrollView android:layout_height=”wrap_content” android:layout_width=”fill_parent” android:layout_above=”@id/footer” android:layout_below=”@id/title_horizontalScrollView”> ///other things <fragment android:id=”@+id/map” android:layout_width=”fill_parent” android:layout_height=”300dp” class=”com.google.android.gms.maps.SupportMapFragment” /> //other things

Android – IllegalStateException: map has zero size

I’m a novice android programmer. Let me give some context. My project uses ActionBarSherlock. I have an activity (Activity1) that contains two fragments – a SherlockListFragment and a SherlockFragment containing a google maps MapView (essentially a MapFragment). Search results are displayed in the list fragment and the map fragment, and an action bar options button […]

Google MapFragment is blank (white) with Could not find class 'maps.j.k'

I’m trying to build the official android google map api v2 sample on a (gingerbread 2.3.5) phone . I added android-support-v4.jar to official sample project. I took the sample from the official tutorial in <android-sdk>/extras/google-play-services/samples/maps I copied the sample app in Eclipse, reference the google-play-services_lib project as an Android library, and build the whole thing […]

how to display map in android with marker

I am working on android app and I am totally newbe in this. So I want to know how to display marker in map and how to change his position on specific time like defining thread or anything in background which will send the latitude and longitude value and marker was move on that

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 map is on top). Previous answers that I have found suggested over writing the onDraw() […]

Adding custom property to marker (Google Map Android API V2)

When using Google Map API V3 I can add custom property in the following way: var marker = new google.maps.Marker({ position: userLocation, map: myGoogleMap, animation: google.maps.Animation.DROP, icon: avatar, title: userName, customProperty1: bla, customProperty2: bla, customProperty3: bla, … }); I’m wondering if I can do the same for API V2 Android, the reason I want to […]

Android “Hello, MapView” Tutorial – Map Tiles Do Not Load

I am new to Android software development and new to this site. I am hoping someone might have some experience with the problem I am having. I’ve been following the Hello, MapView tutorial in order to not only learn the Android framework, but also the Google Maps library. I’ve tried my best to implement things […]

Android Google Map v2 – Starting activity when clicking on marker infoWindow

I have seen that people are finding a lot of difficulties with this specific task and I am in need of help as well. I have successfully created Markers on a Map using the default code that Google has provided. But now I want to be able to click on “InfoWindow” to open a new […]

Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.