Reputation: 11780
Ref to how do I point my android app to my online apengine endpoint for background info.
I have deployed my app-engine endpoint. And now I would like to have my emulator talk to it. Does anyone know how to do that? Everything works fine on localhost. But when I switch to the deployed backend, I get an exception.
Upvotes: 0
Views: 198
Reputation: 9183
Using the emulator to talk to a deployed Endpoint should be nearly identical to using a real device. If you have an APK that works on a real device, choosing an emulator target when running should produce identical results.
The one major caveat to this is if you are using Google Play Services (a requirement of auth), which as of this posting, does not work on an emulated device. For testing authenticated APIs, you must use a physical device.
Upvotes: 0