Skip to content

callmewa/appengine-endpoints-tictactoe-android

 
 

Repository files navigation

appengine-endpoints-tictactoe-android

This application implements a simple client for a Tic Tac Toe game using Google Cloud Endpoints, App Engine, Java, and Android.

NOTE: This sample was written with a Python backend in mind.

Products

Language

APIs

Setup Instructions

  1. Import the project into Eclipse.
  2. Make sure the following files are added to a libs directory in your project (they come from the google-api-java-client and are not bundled with this sample):
    • google-api-client-1.13.2-beta.jar
    • google-api-client-android-1.13.2-beta.jar
    • google-http-client-1.13.1-beta.jar
    • google-http-client-android-1.13.1-beta.jar
    • google-http-client-gson-1.13.1-beta.jar
    • google-oauth-client-1.13.1-beta.jar
    • gson-2.1.jar
    • guava-jdk5-13.0.jar
    • jsr305-1.3.9.jar Later versions of these libraries may work, but it's not guaranteed.
  3. Make sure you've added Google Play Services to your development environment.
  4. Update the value of DEFAULT_ROOT_URL in src/com/appspot/api/services/tictactoe/Tictactoe.java to point to the location where you are hosting a Tic Tac Toe backend (based off of the Java backend example).
  5. Update the value of AUDIENCE in src/com/google/devrel/samples/ttt/ClientCredentials.java, replacing the string "your_web_client_id" with the web application client ID you registered in the APIs Console.
  6. Run the application.

About

A simple client for a Tic Tac Toe game using Google Cloud Endpoints and Android.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%