Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use Google Cloud Endpoints with Volley?

With Google Cloud Endpoints, you still need to manage async tasks, parallel network requests, compatibility on Froyo, etc.

Is there any way to use Volley with Cloud Endpoints requests?

like image 505
Alon Gubkin Avatar asked Sep 20 '13 10:09

Alon Gubkin


1 Answers

You can use volley but it overlaps with most of the features provided by the Endpoints generated libraries.

Your main issue will be including OAuth headers in your requests, after that you can basically call the endpoints as you would any other URL and serialize the results yourself using volley.

The documentation on how to include the OAuth is here.

like image 73
jirungaray Avatar answered Oct 08 '22 01:10

jirungaray