1

I have an android app that should search in google using image.. User should upload photo and search using it..

I have that code to choose photo to search..

Intent intent = new Intent();
intent.setType("image/*");
intent.setAction(Intent.ACTION_GET_CONTENT);
startActivityForResult(Intent.createChooser(intent,
    "Select Picture"), GALLERY_CODE);

I searched in google, and I found only that..

ImageSearch

But that searches for images using keyword.. I don't want that..

Also I tried to search in Bing using image but I couldn't.

Any Idea ?

Muhammad Ashraf
  • 1,252
  • 1
  • 14
  • 32

1 Answers1

0

You should use the Google Custom Search JSON/Atom API

The JSON/Atom Custom Search API lets you develop websites and applications to retrieve and display search results from Google Custom Search programmatically. With this API, you can use RESTful requests to get either web search or image search results in JSON or Atom format.

You can find an alternative way here: Google Search by Image API? using TinEye API

Community
  • 1
  • 1
xdola
  • 562
  • 2
  • 8
  • 23