I am writing an application in android 2.1. I just want to implement Google map for my app. I found this link Google Map. Its good.
But I found out, For google map I have to create a project with a Google API version. Which is Along with Android2.2. But my application is in Android2.1. So How I can integrate Google map with 2.1.
What I am thinking I have to create a new project with Google API2.2 version. Then I have to move all my code from current project to that. Am I wrong?
If I am right, Then will this run on 2.1? I it always run for 2.2 and above only?
You can select Google APIs for 2.1 also. Select Google APIS with 2.0.1 and then follow the link
as mentioned by you.
One thing is sure that for whole application you should include only one api version that can
be Google android 2.1 or google android 2.2, i have jst checked it you can use any one api of
the mentioned above two.. and you will get d same result, without changing your code.....
Related
I am creating an android app using Google Maps Api v2 targeted for Android Api 16+ compiled using Api 23.
I am having a strange problem. When I tested the app on my phone; installing through Studio's Run button, It work perfectly fine, but when I released an APK and installed the app from the APK on my phone, map does not work. Only a dark grey color loads in the map fragment. I am using the default template provided by the AndroidStudio to create the Map. Please, let me know if you require more details to answer my question.
Thanks in advance,
Abhishek
I solved the problem by moving the API key from separate resources file generated by Studio to Manifest file.
Thank you #Florence Herrou for your answer.
I am building an application which has its major functionality on google maps. But the problem I am facing in one of the device is that:
The Google Maps never load on that device [its OS is Android v2.2]
I have checked for the Google Play Service and it always gives a dialog to update the Google Play service; but when I click ok it redirects me to the play store where it shows that i already have the google play library [No update option there]
I connected the device and checked the logcat which states something like this:
"Current Google Play Service Version is 35xxx and required is 41xxx"
but there is No way for me to update the google play service as it never shows the update option. Please help me with this issue.
Give me all possible solution that i should try out... I need this app working on android 2.2.
I am using google maps api v2. Also Note the app is working fine on all other android versions.
Thanks.
USING Google Maps v1 can SOLVE MY PROBLEM....?? Please Help!
You need to use older version of Google Maps Android API v2.
The latest supported on 2.2 devices is 3.2.65 (v12) and can be downloaded via SDK Manager.
Just look for Google Play services for Froyo.
Or if you are using Android Studio and Gradle, make your dependency version equal to 3.2.65.
Hey I've been trying since a week now to get the maps thing working on Eclipse. I downloaded all the necessary packages and did everything that they've asked to on the "getting started" page on google's developer site that is meant for developing using Google Maps. But when I run the code in the emulator it tells me, "Google play services is not supported by your device"
Need some help guys as to what to do. Please do let me know about any suggestions.
Yup, you can get Google map V2 in emulator too. I got it please refer this step by step procedure this link which I answered in previous question.
To work with Google Map API v2, you are required to have Google Play services enabled device.
To test your app when using the Google Play services SDK, you must use either:
A compatible Android device that runs Android 2.3 or higher and includes Google Play Store.
The Android emulator with an AVD that runs the Google APIs platform based on Android 4.2.2 or higher.
Update:
I would suggest you to give Genymotion emulator a try.
I wonder if anyone has documentation on how to implement Google Maps v2 on Android Studio, the official documentation does not explain this.
Thanks in advance.
Well these steps worked good to me
First, update the version of your android studio to version 0.5.4 or later
Second, make the project as you want only recommend you to create at least 17 API for Google Maps V2 run with no problem and select Google Maps Activity
Third, the good thing about this update is that Android Studio in Manifest.xml and Activity are already configured to do the test directly
Fourth, do not forget to configure and enter your own api_key
Fifth: I recommend to you use Genymotion to test your apps with maps, the emulator is much easier to manage, faster and easier to install Google Play Services
http://www.genymotion.com/
http://www.youtube.com/watch?v=iCRNqCXGNK0
I'm porting my android app to playbook and keep getting an error related to not supporting Google Maps, however I don't use that anywhere in my project. It's also not mentioned anywhere in my manifest.
I'm at a loss here, not sure what to do next. Any ideas?
Just to update on this: I was able to compile and run the app on the emulator w/ that warning present so - lets see if it gets past approval process, will update.
The Google Maps API for Android is unsupported on the Blackberry Playbook. See https://bdsc.webapps.blackberry.com/android/apisupport/ for a list of what can and cannot be ported.
For now, there is no way around this. If you want to create a Google Maps application for the Playbook, you will need to use the AIR SDK with the Google Maps Flash API