Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between target google APIs and target android

I'm developing android with SDK 2.3.3 using Eclipse IDE. As you all know to run my app, I should generate virtual device. From 'create new AVD' window, I can see many targets. There are 2 targets for API level 10 such as 'android 2.3.3' and Google APIs(Google Inc). Among those targets, I'm uncertain which one I should choose.

My question is what's the difference between them.

Thanks in advance Dan

like image 453
allbory Avatar asked May 06 '11 17:05

allbory


People also ask

What is the difference between Android API and Google API?

Google API is for developing Google-based services such as Google Maps. Android API is for developing Android apps. Show activity on this post. google API:- it uses all google specific libraries like google map,search engine,sign in.

What does Android API level mean?

What is API Level? API Level is an integer value that uniquely identifies the framework API revision offered by a version of the Android platform. The Android platform provides a framework API that applications can use to interact with the underlying Android system.

Which Android version should I target?

We recommend that you explicitly set the Target Android version to the latest version of Android that you use to test your app. Ideally, it should be set to the latest available Android SDK version – this allows you to use new APIs prior to working through the behavior changes.


1 Answers

The Google API includes Google Maps and other Google-specific libraries. The Android one only includes core Android libraries.

As for which one to choose, I would go with the Android API until you find that you need the Google API; such as when you need Google Maps functionality.

Here is a link to the Google API page.

like image 150
Zack Marrapese Avatar answered Sep 20 '22 13:09

Zack Marrapese