how to extract images from Google places API android -


        placephotometadataresult result3 = places.geodataapi.getplacephotos(mgoogleapiclient3,place.getid()).await();         if (result3.getstatus().issuccess() && result3!= null){             placephotometadatabuffer placephotometadatabuffer = result3.getphotometadata();             placephotometadata photo = placephotometadatabuffer.get(0);             bitmap image = photo.getphoto(mgoogleapiclient3).await().getbitmap();             imageview = (imageview)findviewbyid(r.id.image3);             imageview.setimagebitmap(image);         } 

how build google api client in code or there other method access image google place api?

you can following url.

https://maps.googleapis.com/maps/api/place/photo?photoreference="enter photo refernce key here"&maxheight=100&maxwidth=100&key="enter google key here"


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -