简体   繁体   中英

Searching an image using ImageView Android

I have created an ImageView and is there any way to search for an image using google search? I want to search for an image and post it in the ImageView

You can use Google Custom search API which is free and includes Google image search API too. then get images from API using some libraries like Volley or Retrofit and ... and use bitmap decoding operations and set too imageView. Here is a good tutorial to how to parse API using volley.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM