Overview of Google Play services | Google Developers

文章推薦指數: 80 %
投票人數:10人

Google Play services powers a broad set of SDKs on Android to help you build your app, enhance privacy and security, engage users, and grow your business. Google Playservices Language English BahasaIndonesia Deutsch Español Français Português–Brasil Русский 中文–简体 日本語 한국어 Signin Home Guides Reference Samples Support Downloads Google Playservices Home Guides Reference Samples Support Downloads Overview Setup AccessingAPIs AccessingAPIswithGoogleApiClient AuthenticatingYourClient RuntimePermissions TasksAPI OpenSourceNotices PrepareforGooglePlaydatadisclosurerequirements Versioning Releases BetaProgram SDKGettingStartedGuides UserExperiences GoogleCastGoogleFitGoogleMapsSDKGooglePayAPIGooglePayforPassesGooglePlayGamesServicesGooglePlayInstantWearOS AdvancedCapabilities ActivityRecognitionMLKitTensorFlowLiteNearby Security&Privacy FIDOSafetyNetSecurityProvider Engagement FirebaseDynamicLinksGoogleAdMobGoogleAnalyticsforFirebaseGoogleTagManager AppBasics CronetFirebaseCloudMessagingBlockStoreGoogleSign-In(OneTap)GoogleSign-InLocationandContext Home Products GooglePlayservices Guides OverviewofGooglePlayservices GooglePlayservicespowersabroadsetofSDKsonAndroidtohelpyoubuild yourapp,enhanceprivacyandsecurity,engageusers,andgrowyourbusiness. TheseSDKsareuniqueinthattheyonlyrequireathinclientlibrarytobe includedinyourapp,asshowninfigure1.Atruntime,theclientlibrary communicateswiththebulkoftheSDK'simplementationandfootprintinGoogle Playservices. Byprovidingshared,client-sideimplementations,GooglePlayservices: Helpstooptimizeon-deviceresources,suchasstorageandmemory,toimprove appqualityandyourusers'overall experience. Receivesautomaticupdates—independentofOS,OEM,orappupdates—soyour usersreceiveimprovementsandbugfixesmorequickly. PowersSDKsthatarebackwardcompatibletoAndroid4.4(APIlevel19)andare availableonavarietyofformfactors,enablingyoutoreachmoreuserswith lesseffort. Figure1.GooglePlayservicesreceivesregularupdatesthatcontain improvementsandbugfixes. HowGooglePlayservicesworks SDKs EachSDKpoweredbyGooglePlayservicesprovidesalightweightclientlibrary thatcontainsthenecessaryAPIstointeractwithitsrespectiveservice.Other APIsallowyoutoresolveanyissuesatruntime,suchasmissing,disabled,or out-of-dateservices.IfyouareusingAndroidStudio3.4orhigherandenable codeshrinking,theR8 optimizercanhelp furtherreducethefootprintofeachSDKanditsimpactonyourapp'spackage size. ToaccessnewGooglePlayservicesfeaturesorproducts,upgradetheSDKwhena newversionisreleasedtotheGoogleMaven repository. Services GooglePlayservicescontainson-deviceGoogleservicesthatruninthe backgroundoneveryGoogle-certifiedAndroiddevice. AutomaticupdatestoGooglePlayservicesaredeliveredindependentofcarrier, OS,orOEMsystemimageupdates.Ingeneral,devicesrunningAndroid4.4or higherreceiveupdatesautomatically,providedthatthesedeviceshaveGoogle Playservicesinstalledandsufficientstorageavailable.Thismeansthatusers receiveimprovementsandbugfixesmorequickly,andyoucantakeadvantageof thelatestAPIswhilereachingmostdevicesintheAndroidecosystem.Devices olderthanAndroid4.4,ordeviceswithoutGooglePlayservicesinstalled, aren'tsupported. Nextsteps:setupyourapp TobeginusingGooglePlayservicesAPIsinyourapp,readthissetup guide. Exceptasotherwisenoted,thecontentofthispageislicensedundertheCreativeCommonsAttribution4.0License,andcodesamplesarelicensedundertheApache2.0License.Fordetails,seetheGoogleDevelopersSitePolicies.JavaisaregisteredtrademarkofOracleand/oritsaffiliates. Lastupdated2022-04-14UTC. [{ "type":"thumb-down", "id":"missingTheInformationINeed", "label":"MissingtheinformationIneed" },{ "type":"thumb-down", "id":"tooComplicatedTooManySteps", "label":"Toocomplicated/toomanysteps" },{ "type":"thumb-down", "id":"outOfDate", "label":"Outofdate" },{ "type":"thumb-down", "id":"samplesCodeIssue", "label":"Samples/codeissue" },{ "type":"thumb-down", "id":"otherDown", "label":"Other" }] [{ "type":"thumb-up", "id":"easyToUnderstand", "label":"Easytounderstand" },{ "type":"thumb-up", "id":"solvedMyProblem", "label":"Solvedmyproblem" },{ "type":"thumb-up", "id":"otherUp", "label":"Other" }] Connect AndroidDevelopersBlog GetNewsandTipsbyEmail MoreResources AndroidDevelopersWebsite GoogleDesign Tools AndroidStudio GooglePlayConsole Android Chrome Firebase GoogleCloudPlatform Allproducts Terms Privacy SignupfortheGoogleDevelopersnewsletter Subscribe Language English BahasaIndonesia Deutsch Español Français Português–Brasil Русский 中文–简体 日本語 한국어



請為這篇文章評分?