Skip to content

timroes/gridka-android-workshop

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

GridKA 2014 Android Workshop

This is the sample app for the GridKA workshop "Getting started with Android and App Engine".

You can find the main activity at: MainActivity.java

This Activity also has the AsynTasks to load data from the App Engine endpoint as inner classes.

App Engine

The actual App Engine endpoint can be found in: MyEndpoint.java

To use your own backend, a new project must be created in the Google Developers Console. Then you need to add your own App Engine project id to the appengine-web.xml file. Also the AsyncTasks in the MainActivity have the name of the cloud endpoint and must be changed.

The backend is built and deployed to App Engine with the Gradle task appengineUpdate executed from a terminal. Make sure that you are in the root directory of the project and execute the following command:

./gradlew backend:appengineUpdate

The task will open up a browser and load the URL for the authentication. Depending on the system, the URL is displayed only in the terminal. Copy the code displayed in the browser to the terminal and press enter. The backend is now deployed and can be used. In your browser, the project can be called with the address your-project-id.appspot.com.

License

This sources are available under CC0/public domain. This means you are free to use them in whatever way you like, without needing to leave any copyright notice.

About

This is the sample Android App and App Engine Backend for the GridKA 2014 workshop "Getting started with Android and App Engine"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published