Tag: google-maps

Google Maps Android API v2, Marker title/snippet wrong display

I use Google Maps Android API v2 with Android to show current position with nearby markers. Nearby places locations and titles are received using Google Places API. The problem is that non-english names at title/snippet are shown in fail way. For the instance, Hebrew names. The sreenshot is attached. )

how to add logo in google consent screen?

I have created project in google developers console and now I want to set my logo in consent screen. I have logo on my computer and logo field on consent screen require URL, is there any way to set logo on my computer in consent screen? I have also tried uploading image on google drive […]

Loading Android Google Map fragment managed by ViewPager

I can load a google map into an Android fragment that’s within an activity. That has been working fine. But now I want to use ViewPager to navigate between views (class android.support.v4.app.Fragment). It doesn’t seem possible to load a com.google.android.gms.maps.MapFragment into such a fragment. For example, in: import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; […]

Android googleMap Map does not show, only grid, sometimes

So, I have been working on getting this up and running for some time now. Problem is I have my map key from Google placed correctly in main.xml, but I can’t seem to get a provider information as the map does not display at all. I have run it a couple of times and the […]

Google Maps Fragment doesn't load

I want to load a Google Maps object and create some listener: I created this class: import java.lang.ref.WeakReference; import com.google.android.gms.maps.CameraUpdateFactory; import com.google.android.gms.maps.GoogleMap; import com.google.android.gms.maps.GoogleMap.OnMarkerDragListener; import com.google.android.gms.maps.MapFragment; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.google.android.gms.maps.model.LatLng; import com.google.android.gms.maps.model.Marker; import com.google.android.gms.maps.model.MarkerOptions; import android.app.Activity; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.support.v4.app.FragmentActivity; import android.util.Log; import android.view.View; import […]

Getting 0.0 for latitude and longitude while showing current location in map

I am using the following code to get my current location. But the problem I am facing is, it always returns 0.0 for latitude and longitude. I have turned on the GPS settings in the phone and set all the permissions. But still I am facing this. locationManager = (LocationManager)getSystemService(Context.LOCATION_SERVICE); customLocationListener = new CustomLocationListener(); locationManager.requestLocationUpdates( […]

Google Maps API v2 grey screen

I’m trying to create and application that connects with Google maps. But when the screen loads where the map should be its just grey. How do I fix this? The important message from my logcat. 06-11 03:32:55.196: E/Google Maps Android API(11671): Ensure that the following correspond to what is in the API Console: Package Name: […]

com.tools.fd.runtime.BootstrapApplication won't run unless you update Google Play services

I try to make a button (in my case, ImageButton) which will spot user’s location on the Google Map. I’ve done this so far and when I press the button in the application simulator shows; “com.tools.fd.runtime.BootstrapApplication won’t run unless you update Google Play services”. Here is my code: built.gradle apply plugin: ‘com.android.application’ android { compileSdkVersion […]

Phonegap Android internet not working

I am writing my first app in Phonegap and I have been testing it on an Android device. I believe I have granted the appropriate permission: <uses-permission android:name=”android.permission.INTERNET” /> But the map is not showing up. I am trying to get a latitude and longitude from a web service and use this to put a […]

Rotate marker based on driving direction

I have a marker in my Google Maps map that looks like this: When the user is driving, I want to rotate it based on his driving direction. How can I achieve this? I should probably use previous location and current location coords for calculation, but I have no idea how.

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