This project is Android native client sample for Mobile Backend Starter.
Disclaimer: This is not an official Google Product.
The instruction below lists just some key steps. For detailed setup instructions and documentation visit [Google App Engine developer site] (https://developers.google.com/cloud/samples/mbs).
-
Make sure you have Android SDK with Google APIs level 15 or above installed. This project is currently configured using APIs level 19, but will work perfectly with anything level 15 or above.
-
Import the project into Eclipse.
-
Make sure you have Google APIs selected in your project properties. This option is under Android in Project Build Target.
-
Update the value of
PROJECT_ID
insrc/com/google/cloud/backend/android/Consts.java
to the app_id of your deployed Mobile Backend 5. Make sure that your Mobile Backend is configured with OPEN mode. Also update yourPROJECT_NUMBER
andWEB_CLIENT_ID
with the values from your console project. -
Update the value of
DEFAULT_ROOT_URL
inendpoint-libs/libmobilebackend-v1/mobilebackend/mobilebackend-v1-generated-source/Mobilebackend.java
to your own project. -
Run the application.