miskohut
miskohut

Reputation: 1017

Google Play services and Google Games

I would like to ask what are Google Games good for from the developer point of view. If I am connecting viac GoogleApiClient like:

googleApiClient = new GoogleApiClient.Builder(this)
                .addApi(Games.API).addScope(Games.SCOPE_GAMES)
                .addConnectionCallbacks(this)
                .addOnConnectionFailedListener(this)
                .build();

Am I connecting to Google Play services or Google Games. And if I am connecting to Google Games I don't need to have google play services installed? Because it eats a lot of space on older devices.

Upvotes: 1

Views: 140

Answers (1)

Naveen Rao
Naveen Rao

Reputation: 742

This GoogleApiClient is used as main entry point for Google Play Services integration (as in google documentation explained)

Google Play Services

The role of these services is to connect your app with google play store to check updates . Play Services library is used to in android app project to have classes which able us to use google maps and other google+ API's . more info here

Google Play Game Services

As quoted on wikipedia here Google Play Game Services can be used by application developers to allow a more competitive and social experience through the use of leaderboards, both public and between friends, achievements and multiplayer sessions. Saved Games API is available to quickly sync game saves on Google's cloud infrastructure as well.

We can say that play services are used to save score of games and can have score boards of other players played your game. This gives a more rich game experience.

Upvotes: 1

Related Questions