I am using Google places Web Service API for my Android Application. There is a reason for not using the Android SDK, so please dont suggest on using the SDK
The Problem:
I am able to retrieve the image as per the documentation
https://developers.google.com/places/web-service/photos
This is how I get the image:
https://maps.googleapis.com/maps/api/place/photo?maxwidth=400&photoreference=CnRtAAAATLZNl354RwP_9UKbQ_5Psy40texXePv4oAlgP4qNEkdIrkyse7rPXYGd9D_Uj1rVsQdWT4oRz4QrYAJNpFX7rzqqMlZw2h2E2y5IKMUZ7ouD_SlcHxYq1yL4KbKUv3qtWgTK0A6QbGh87GB3sscrHRIQiG2RrmU_jF4tENr9wGS_YxoUSSDrYjWmrNfeEHSGSc3FyhNLlBU&key=YOUR_API_KEY
But, my API key is exposed during the request. Anybody could use it and it can affect my quotas and Billing. How can I get the image without exposing my API Key?