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.
-
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_IDinsrc/com/google/cloud/backend/android/Consts.javato the app_id of your deployed Mobile Backend 5. Make sure that your Mobile Backend is configured with OPEN mode. Also update yourPROJECT_NUMBERandWEB_CLIENT_IDwith the values from your console project. -
Update the value of
DEFAULT_ROOT_URLinendpoint-libs/libmobilebackend-v1/mobilebackend/mobilebackend-v1-generated-source/Mobilebackend.javato your own project. -
Run the application.