google-maps-android-api-2

Blank Screen Android 2.2 Google Maps v2

不羁岁月 提交于 2019-12-11 10:20:35
问题 EDIT : I transferred my 20+ projects that tries to use Google Maps for Android v2. After changing keys and stuff, now, it works. I don't know what made this work, but thank you all. I got one keystore, the key is right. I guess it magically fixed somehow. Well, thanks guys. I'm doing searches for 2 days and I couldn't fix this problem. I did everything, yet, this application can not work. I want my application to work on Android 2.2 and above. Like it says "if you create your app in level 8,

How to Show important places route between two locations

孤人 提交于 2019-12-11 09:19:04
问题 I am developing an app that displays some important points in a map between two locations specific single route . like as following example.if any one know about these related works please let me know. example point A -> x point B -> Y in given X & Y single route show Hotels / filling stations etc.... using check boxes Is this possible ? If yes, can you point some tutorials ? 来源: https://stackoverflow.com/questions/16973039/how-to-show-important-places-route-between-two-locations

How do I change my package name after already obtaining a Google Maps API key?

ε祈祈猫儿з 提交于 2019-12-11 09:15:29
问题 I was trying to upload my APK on the Market for beta testing and realised that my package name started with com.example which isn't allowed. My app is ready to beta, everything is in place but my package name is not allowed. I've tried changing my package name in Android Tools but my problem is with Google Maps since my app is already signed up with com.example. I can get my app running but Google Maps fails to load. How do I change my package name after I've signed up with a Google Maps API

How to extract a marker info from a list of markers

若如初见. 提交于 2019-12-11 08:15:17
问题 I'm using the following code to create a list of markers in a mapfragment using three arrays that sends the information of latitude, longitude and name of one list of records. My objective is to get send to a new intent the name of the record when the info window is clicked. Now sends for all markers the recordname of the last item of the array but I need send the specific info to each marker. Any idea? String[] arraylatitud = arrlat.toArray(new String[arrlat.size()]); String[] arraylongitud

How to set language restriction in com.google.android.libraries.places:places:

狂风中的少年 提交于 2019-12-11 08:08:17
问题 I'm setting up this new google places api --> com.google.android.libraries.places:places:1.1.0 but I'm unable to find to set the language for results provided by this api. when I input some keywords it shows result in Local Language "Hindi"(Indian Language) only in few keywords it is doing this but in general it shows normal English results. There is the following keyword on which it shows result in Hindi:- Keyword: "Rohini Sector 11" Output: 244, behind G3S CINEMA HALL, सेक्टर 11, रोहिणी,

The supplied API key is not configured for use from this Android app in Google map Road Api

本小妞迷上赌 提交于 2019-12-11 07:34:13
问题 Below are the steps I have done: Select Google Maps Road API and restrict the key to android by passing SHA key and Package name . I have also enable the another API i.e Google Maps Android API which is working fine with the code. I have removed the restriction of key but getting same result. On Developer console, every google map road API request goes into the error column. Please, help me solve this issue as I'm not able to figure out what's wrong with this another API key's are working

Binary XML file line #2: Error inflating class

对着背影说爱祢 提交于 2019-12-11 06:49:53
问题 I know similar questions like this has been answered but I seem to have done what the tutorial suggested and reading from other posts but still I get the Inflator error. Not sure what I am doing wrong. I don't see Google-Map. Please check the code. Thanks a lot. I generate My Key with: keytool -list -v -keystore mystore.keystore Activity_Map.java package pt.example.project; import android.os.Bundle; import android.support.v4.app.FragmentActivity; public class Activity_Map extends

Android Maps-API v2: where are the Overlays?

无人久伴 提交于 2019-12-11 04:09:11
问题 I have already written an app that uses GoogleMaps Api v1 in Android. This app uses several Overlays (or ItemizedOverlays ) which handle a bunch of things autonomously (ie. lazy loading markers, as I have a whole lot of them and adding them all at once will force the app to close). I also use them as an interface for the user: He can decide which overlays (or which kind of markers from his perspective) he wants to see. I add or remove these Overlays accordingly. Now I want to switch to the

How to check is streetview is available on location

本小妞迷上赌 提交于 2019-12-11 03:43:27
问题 I'm using the the Google Maps Android SDK and I'm trying to find out if a StreetView panorama is available is a certain location. To describe the feature: "If a user click on a map marker and a the location has a panorama then show the panoram, otherwise just zoom the map to the marker location) I'd rather not create a SupportStreetViewPanoramaFragment if the location doesn't have a panorama. Even if I create it I think the only possible way would be to call

GoogleMaps.oncameraChangedListener is never called

▼魔方 西西 提交于 2019-12-11 03:01:27
问题 I have an Activity (which inflates a map fragment) which implements the GoogleMap.onCameraChangedListener, and I have overriden the onCameraChange method. The problem is that whenever I move across the map, i.e. the camera position changes, the onCameraChange method is never called. What could be causing this? 回答1: Try this : public class MapActivity extends AppCompatActivity implements GoogleMap.OnCameraChangeListener{ private GoogleMap googleMap; @Override protected void onCreate(Bundle