I'm new to android n i want to develop application in Android (for 2.2 Version) with use of Google Map API i found various tutorial like this
http://www.androidhive.info/2012/01/android-working-with-google-maps/
but i'm unable to find how to install Google Map API for API level 8 like in this link.
Can any one please provide me the link which explains the installation of old API's because i have google Map API for level 14 but i want to install for level 8.
Thanks in advance.
Step #1: Open up your SDK Manager
Step #2: Scroll down in the list to find the API level you wish
Step #3: Check the "Google APIs" checkbox for the API level you wish
Step #4: Click the "Install packages..." button and follow the prompts
I had the same problem, apparently its because the sdk manager is not updated. I didnt feel like updating so I cant confirm that part. BUT, I can confirm one way around.
Alan Sha posted a manual way to download the APIs.
https://stackoverflow.com/a/7860557/962685
Just do what he says and it works. You will have to change your api level in your manifest and in project settings.
Related
I want to know from which sdk version on-words WiFi Service available. is it available from API level 3?
From API 1 its available . I guess You dont have any idea in Android Version . So first check the link!! and go through the Features as per all API level and clear your doubt :)
It is API level 1
See this link
http://developer.android.com/reference/android/net/wifi/WifiManager.html
I am running an emulator with Google API level 18 but whenever I open my google maps based application I get the error message "This app won't run unless you update Google Play services".
How can I get google play services to run on my emulator? I have looked at other stackoverflow questions but they say to use the latest API, which I already am.
EDIT: It is worth noting i am using the support library
EDIT: Screenshot of my emulator setup:
You need to setup an emulator with the API level you need + the Google API! For every API level there are 2 version of ROM! One with Google APIs and one without! If you choose the first you will be ok to run any app that uses Google Play Services!
You should create emulator with target version Google APIs - API level 18, start it and add Google account (System settings - Add account - Google)
i had the same problem once as i tried to feed my app with dummy-locationdata via emulator.
There is still no map-support for the emulator, though you can workaround and get it running the hard way!
in my eyes, best tutorial for your purpose is THIS TUTORIAL.
On a device, you need to have Google Play Services intalled. I'm not sure if it's possible to have it installed on an emulator. You can try searching for workarounds. But I've had this problem before, I just ended up using a real device.
This question may seems very stupid but I'm really stuck. To run the map on my app on my emulator I need to run with Google Api library and on emulator), but for textview and rest of the stuff I run with Android 4.2.. How can I run the whole app?
When you choose "Google APIs" as your SDK target, that includes the full Android API for that level as well.
Thus, if you choose "Google APIs (level 17)", that will include Android 4.2.
Note that in addition to the setting the appropriate API level, you may need additional libraries to support particular Google services. For example, see https://developers.google.com/maps/documentation/android/start for details on adding the maps library, or http://developer.android.com/google/gcm/gs.html#libs for details on adding the helper libraries for Google Cloud Messaging.
I am working on location based service project. I want to use maps in my emulator.In my emulator I can't see maps application. How can I see maps in my emulator.
Are you using Proper API key for map? If no, just take from that link. You can't use others map api key and also. So, just try the new API key.
Check whether you're using proper SDK for Google maps -
the AVD prepared might not be of googleapis so might be the problem.
Make sure you have created AVD with
Google APIs(Google Inc.)
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.....