This project is no longer actively developed or maintained.
For new work on this check out Mobile Shopping Assistant or Cloud Endpoints.
The mobile backend starter sample application is no longer supported. If you are looking for an easy way to connect your mobile app to Google Cloud Platform, we recommend you check out Cloud Endpoints. If you are already using the mobile backend starter your code will continue to work and no modifications are necessary at this time.
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_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.