What is the difference between Google APIs in Android SDK

后端 未结 4 518
梦如初夏
梦如初夏 2021-01-03 18:59

Since android 5.0, Google added Google APIs. what is that exactly?

And what is the difference between Google APIs intel atom_64 x86 system image and

4条回答
  •  清歌不尽
    2021-01-03 19:38

    Additionally to SilentKnight Answer, Please also refer to this link.

    https://developers.google.com/android/reference/packages

    https://developers.google.com/android/guides/api-client

    1. Also see Jan Gerlinger answer

      What is google API and framework API

      According to Jan Gerlinger =

      Android is developed by Google, but can also be used without any Google services. So the Android platform SDK can be used for developing Android applications. If you however want to use any Google services in your Android Application, you should use the Google API Java Client library.

    2. And oenpelli answer

      Difference between Google APIs (x86 System Image) and Google APIs (ARM System Image) in Android 4.4.2

      According to oenpelli statement =

      In the beginning the only Android system images available ran on the ARM instruction set. A system image is used to create different Android Virtual Devices (AVDs) and emulate the different Android devices in common use.

      As developer workstations are usually Intel x86 based, the ARM instruction set had to be emulated as well. This resulted in poor performance from the AVDs due mainly to the amount of translation the x86 processor was doing to also emulate the ARM instruction set.

      At Android 4.0.3 (API 15) Intel provided their own x86 based Android system image. This could then be used to create AVDs that did not need to do ARM translation. Combined with the Intel Hardware Accelerated Execution Manager (HAXM) the x86 AVMs were up to 10 times faster than the equivalent ARM emulators.

      Support for Google specific Android APIs like the Android Google maps API, are not provided with the standard Android system images. They need to be installed separately using the Android SDK Manager. To use these APIs with an x86 system image you need to also install the Google APIs (x86 System Image) for the same API level.

提交回复
热议问题