前置き
クライアントアプリの実装に移ります。
開発環境はeclipseです。
まずはGoogle Play Game Servicesの使用に必要なライブラリを導入します。
必要なライブラリは2つです。
- Google Play Services
- BaseGameUtils
Google Play Servicesの導入
Google Play ServicesはAndroid SDK Managerからインストールします。
インストールが完了したら、以下のディレクトリにライブラリプロジェクトが展開されます。
{Android_SDK_Path}\extras\google\google_play_services\libproject\google-play-services_lib
これをEclipseにインポートします。