How does Google Now (Now on Tap) search inside apps? - android

So Google has just released a new feature for Google Now called Now on Tap. It enables a user to get contextual help from different apps (The Verge video example).
Does it simply take a screenshot of the current app and use OCR to extract the text?
Does it have "special Google permission" which allows it to read the values within the views?

Primarily, it should work using the assist API added to the M Developer Preview. However as "Now on Tap" is proprietary and unreleased, we can only really guess at this time.

Related

Perform Hardcoded search in Google Maps on Android App

I am making my first android app to track and manage medications.
One of the features I want to include is adding a page that says '"Find Local Pharmacies'.
What I want is very simple - when the user opens this page I want a map to appear with pins on all the places that matched the term 'pharmacy' (within say a 5km radius).
I have never used Google Maps API before so I don't know if this sort of thing is even possible - online searches suggest Google doesn't have a 'search' API, but is there any easy way to do this?
Thanks!
One option would be to use the Google Places API. I see they've got a place type of "pharmacy".

Can you embed a google map into an app with get voice directions?

Simple question, and I think i may already know that the answer is that I cannot do what I want but i can't find confirmation of it. I want a google map in voice guided turn by turn directions mode inside of an activity within my app. It seems like that can be done through their API, but I can't confirm or find whether that can include the voice guided feature and without that, it's not very valuable and I might as well launch the installed google maps app itself and have it skip the default activity and go right into the turn by turn mode with voice rather than embedding it in my activity. I have already done that but would rather have it inside of an activity in my app. Does anybody know for sure if voice guided is offered other than through the installed maps app? Also, any creative ideas or workarounds would be gladly appreciated as well. Thank you.
No.
It's not directly supported by the Google Maps API. You could theoretically cobble it together yourself, using the Directions API and TTS, but the main reason you can't do this is legal rather than technical. From the Google Maps APIs Terms of Service:
10.4.c.iii No navigation. You will not use the Service or Content for or in connection with (a) real-time navigation or route guidance; ...

Is it possible to embed Google Navigation in an Android app?

I have an app which opens Google Maps from where the user is likely to start the Google Navigation from point A to B. Is it possible to open Google Maps and therefore Google Navigation only in specific proportion of the screen and display some additional (but minimal) information from my app next to the navigation?
I am thinking of something like this:
Additionally, is it possible to receive a broadcast when during the Google Navigation the user has arrived to her destination?
I know it is a bit far fetched, but maybe there are some ideas.
If you are still interested in knowing about this after 2 years.
Short answer: Yes (with a but).
If you are asking about displaying a full Navigation experience with turn by turn instructions, a puck, routines on Google Maps, then the answer is: It's illegal to do it without Google's permission. If you look at the Lyft app for drivers, they do have a full navigation experience on top of Google Maps because they partnered with them. So, it's possible, but requires direct communication with Google engineers.
For a workaround, you could show an embed Google Maps view in your apps, and show Markers, Polylines. They also have these APIs to get directions from one place to the other one. For example:
https://maps.googleapis.com/maps/api/directions/json?origin=Disneyland&destination=Universal+Studios+Hollywood4&key=<YOUR_API_KEY>
NOTE: Fees will apply when using these APIs. Check their documentation for more details about the workaround.
You can but you need to contact google personally this is google explanations about this subject and the contract page specially for your request https://cloud.google.com/maps-platform/ridesharing/
Not directly from Google map's navigation . But you can create your own by using
Direction API.
https://developers.google.com/maps/documentation/directions/start#sample-request
yes ,
you can use point an geography point by polygone and line canvas for routing the path between two point on google map.
for more reference reffer this Link.

How to Make LBS applications in Android

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!!

Does google maps in android allow any integration? Say long press on a point, or click an address

I know you can embed the google maps view in an android activity, but is it possible to plug anything into the actual google maps app. say if somebody clicked on a result in the map, and instead of the standard screen show a list of options, like when you share an image. Like "tag this". Something like that.
I can't seem to find any info on that. Its all on integrating MapView into your app.
To my knowledge that's not possible. You cannot program your own copy of Google Maps (that would incorporate the features that you want to add) either, because it's one of the proprietary Google Apps (like the Gmail-, YouTube-, and Market-apps), for which they don't release the code.

Categories

Resources