Background
I wish to allow the user to search for images within my app.
I know that Google Search has a deprecated way to search for images (here), and now it has a whole new "custom search" API.
The problem
No matter where I search, I can't find an SDK that works with the new API, and I also can't find what are the rules of using the API.
The question
How do you use Google Search within the app ?
Does the API also have a reverse search (for finding out the source of the image), like on TinEye ?
The docs for using the json api are here: https://developers.google.com/custom-search/json-api/v1/overview
Related
I am building an android app which can suggest a list of hospitals/clinics/doctors who specialize in specific division of medicine.
For e.g If a person searches for orthopedics, the app should list all nearby hospitals which specialize in orthopedics.
I am new to android development and have never used any api like the Google Map API or the Google Places API. I read that other vendors like yelp etc. don't have enough information about such services.
Can someone help me decide which API I should be using here?
Also, when do we use google map api vs a google places api ?
Links to tutorials explaining how to use these apis would also be very helpful.
Thanks in advance.
I would suggest using either the Google Places API like you have mentioned or the yelp API:
https://developers.google.com/places/android-api/start
https://www.yelp.com/developers/documentation/v2/search_api
I, have personally used the yelp API for a personal project of mine and it pretty much does what I want it to. Please look at the documentation in both the links above and see what fits your application the best (both should work based on the description you provided). Hope this helps!
Anyone has a tutorial of making LBS applications like this? I want to make an application to determine the trajectory of the city's public transport me, but I did not find his examples everywhere, if you have please help me to develop it, thank you
It is a concept design of my application layout
To develop an android app which uses Google API's would be a combination of Google Maps API, Location Api, Direction API and also Places API(if you want to fetch the details of your source and destination). If you are developing this app for a special transit system in your city than you would specifically need their own set of API to populate your app data.
But if you want to develop something with free open source Google API you can first make use of the Google Play Services by first referring into your app project and then getting the API key, enabling the direction api "ON" in your developer console and writing code.
Please refer to this tutorial in order to get a better insight of the transit system app you want to develop. You can customize you app UI accordingly once you have the data coming in.
Here are the bunch of links from Google's official documentation regarding implementation of all API's.
https://developers.google.com/maps/documentation/android/
https://developers.google.com/maps/documentation/directions/
https://developers.google.com/places/documentation/
Hope this would help!!
I want to show suggestion list same as google maps application.
I found some api on google developer site but they dont return same result as google maps application.
https://developers.google.com/places/documentation/search#PlaceSearchRequests
check this screen shot for more.
Its finding using current location, my location is jaipur,rajasthan,india.
You need to use third party library API for this. FourSuqare provides the most efficient and largest database of location based API for this. IT uses type ahead. I would recommend to use their iOS SDK or Android SDK.
The also offer REST web services. Here is a complete documentation for the same.
What you are looking for is this API
You can use a handy library that utilizes the Google Places autocomplete API ... or you can "inspire" from here... https://github.com/chenyuan/SPGooglePlacesAutocomplete
The result:
Would be great, if someone suggest me a way to access Google Googles API or Google Search by Image API.
Currently seems that Google doesn't incentive the use of this API for third parts developers unlike the others Google APIs.
The image search in Google site has a button with a camera that allows the user to upload an image and start a search by image content, if the Google Googles API are not accessible directly, maybe, a good idea might be parsing the Google Search by Image page code and implement a system that access this service through Google Site.
A way to access this function in an app would give to developers infinite possibility to make new awesome apps.
Any suggestion?
Both of these features use internal APIs that are not publicly accessible. They're not intended to be used by software that you write.
If you tinker around, you might be able to reverse engineer them, but I'd recommend against it. Any code you write that depends on them can break at any time without warning.
Possible duplicate: Is there already a Google+ API?
I know there is a new Google+ API came out recently: http://developers.google.com/+/
However, it is limited to writing moments, sharing, +1 only.
I want be able to view feeds/pictures like Facebook/Twitter.
Is it not available? Or am I not looking at the right place?
Currently the Google+ History API only supports writing moments. The history API is still in developer preview, which means it is not yet final and subject to changes.
If you follow the Google+ Developers page, you'll hear about any updates as soon as they are released. You can also sign up for the platform preview group to test upcoming changes and hear about updates.
What is a 'moment'? G+ stores pictures on Picasa, so you could use the Picasa API to get the pictures. A 'full' API is not available, AFAIK.
To read from the Google+ API you need to use the REST endpoint. It is documented here:
https://developers.google.com/+/api/
There is an example of using the REST api from within Android here:
https://developers.google.com/+/mobile/android/
The example writes a moment using the REST api, but it should be straight forward to use it to read from the public data api instead.