How to access app engine datastore by android app?

2019-05-23 03:31发布

问题:

I have created app engine app (using Python)(devappdemo.appspot.com).

Now i want to create an android app for the same which should access the same datastore. I googled it and i found that it can be done with CloudEndPoints but dont know from where to start how it can be done. Please suggest any tutorials or step by step instructions to do it.

回答1:

Google Cloud Endpoints would be the easiest way at the moment to get started with it. Here is the overview and tutorial.

Cloud Endpoints will help you generate the Endpoint API (REST API) and it also helps to generate the Android client code, that you can easily integrate into your Android application.

If you already have exposed your Python application over Web Services, you could directly use that from your Android application.