I am developing an Android application that uses the Google Cloud Endpoints in the Google App Engine (in Python) for its backend. The Android application allows the user to use Google Play Services on the Android device, and it all works fantastically.
However, now that I have actual users, I would like to test it all locally before deploying any API changes to the production application APIs, and I did not understand how to get the Android application to communicate with my local development server anywhere. The recommendation recommendations show that I just vouch a little with the API Explorer, but since I use Endpoints Proto Datastore for my API, which makes Android development easy, it also makes the Explorer API mostly useless, since the calls I need to make are much more complicated. than what I can create manually.
One answer to this question suggests that there is a way to specify the Android client on the local server, but so far I can use the -host argument to have the dev_appserver server listen by default for something other than localhost, I cannot find a way to do the same for the API server. And even if I could do this, this could only be the first step towards a complete local test setup of my Android app.
Can someone post more details on how I can do this, or, if possible, enlighten me about the best methods for testing Android apps using Google Cloud endpoints in App Engine? Thanks in advance for any answers.
dev_appserver API. , , localhost (, / ), API .
issue gzipped. gzipping Android (. ).
, , , , ! , - , - .
1) , dev_appserver.py -host = 0.0.0.0, .
2) , , PyCrypto - , app.yaml. Windows .
3) , Tictactoe.java, DEFAULT_ROOT_URL http://<my-local-machine>:8080/_ah/api/ ( ), . (, , ) builder.setRootUrl , . , .
http://<my-local-machine>:8080/_ah/api/
4) , , .
, , , - !