google-now

Create custom google now cards

北战南征 提交于 2019-12-02 14:09:30
Google provides a variety of 'cards' for Google Now ( http://www.google.com/landing/now/ ). Is it possible to create your own cards? The system looks pretty modular, but I haven't found any documentation or instructions to do so. (I believe you need to supply the content of the card, and some way of signaling when it is supposed to be shown. There is probably just some interface that you have to implement.) If there is no documented solution, a hackish/undocumented way would be ok, too. I'm mostly curious how it works. Edit: Specifically, does somebody have knowledge about the internals of

How do I get my app to appear in Google Now's Phone Search list?

社会主义新天地 提交于 2019-11-30 20:08:45
I want my app to be able to handle search requests from Google Now and appear in its Phone Search list, but I can't find any documentation on this. Does anyone have a link they can offer up? You can add your application to the Phone Search in Google Now by setting android:includeInGlobalSearch="true" in your searchable.xml configuration file per the Searchable Configuration reference page . Google Now shares the same phone search options as previous versions of Android, which was often called the Quick Search Box . You'll probably also want to reference the Search Suggestions for the Quick

Get user's home, work and starred locations like Google Inbox does

你。 提交于 2019-11-30 10:59:39
问题 When in Google Inbox you go to snooze a message and select 'Pick place' it shows a list with your home and work address (from Google Now) populated as well as starred locations from your Google Maps profile. Other Google apps, like Keep also provide similar functionality. I would like to implement this in my app but couldn't find the right API that exposes that information. Is that something that Google doesn't expose to 3rd parties (I guess there's room for abuse there)? If not, how can this

Is there a public Google API to access reminders set in Google Now or Google Keep?

北城以北 提交于 2019-11-30 07:07:26
问题 The time and location-based reminders in Google Now and Google Keep are different from Google Calendar event reminders. Is there a public API to access these event reminders in Now and Keep? 回答1: There's no public API for either of these Google services. More info on the lack of a Keep API here. 来源: https://stackoverflow.com/questions/25728176/is-there-a-public-google-api-to-access-reminders-set-in-google-now-or-google-kee

How do I get my app to appear in Google Now's Phone Search list?

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-30 04:37:24
问题 I want my app to be able to handle search requests from Google Now and appear in its Phone Search list, but I can't find any documentation on this. Does anyone have a link they can offer up? 回答1: You can add your application to the Phone Search in Google Now by setting android:includeInGlobalSearch="true" in your searchable.xml configuration file per the Searchable Configuration reference page. Google Now shares the same phone search options as previous versions of Android, which was often

New Google Now and Google+ card interface

不想你离开。 提交于 2019-11-28 14:58:21
Google Now and Google+ (Android) both make use of a card-like interface. I was wondering if anyone had any idea how this interface can be replicated on Android. They both have quite interesting animations for displaying new cards too; any thoughts would be great. I have posted a tutorial on how to replicate / create Google Cards style layout here . Key steps Create a custom layout Add observer for drawing children Animate alternating cards Heres a code snippet @Override public void onGlobalLayout() { getViewTreeObserver().removeGlobalOnLayoutListener(this); final int heightPx = getContext()

Replace Google Now gesture

有些话、适合烂在心里 提交于 2019-11-27 17:52:46
If you want to start Google Now on Nexus devices, you swipe-up with a simple gesture from the navbar. I want go replace this feature with my own app. if you swipe the, app-picker comes and asks you which app do you want to start: my app or Google Now. How can I implement this? I have found an example which runs without root. Raghav Sood Add the following <intent-filter> to the Activity you want launched from the gesture: <intent-filter> <action android:name="android.intent.action.ASSIST" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> You will now see an option

Android App Integrated with OK Google

爷,独闯天下 提交于 2019-11-27 11:42:30
Is there a way to issue a voice command something like: OK GOOGLE ASK XXX Some App Specific Question or Command And have it launch "APP" with the recognized text: "Some App Specific Question or Command" My app has speech recognition as a service ... but when using my APP I can't ask questions that OK Google can handle ... ianhanniballake Through the Voice Actions API , your app can register for system actions , one of which is 'search' (so you could do 'search for Some Question or command on APP'). In the past, some developers were able to submit a custom voice action request . Upon approval,

Replace Google Now gesture

≡放荡痞女 提交于 2019-11-26 19:13:03
问题 If you want to start Google Now on Nexus devices, you swipe-up with a simple gesture from the navbar. I want go replace this feature with my own app. if you swipe the, app-picker comes and asks you which app do you want to start: my app or Google Now. How can I implement this? I have found an example which runs without root. 回答1: Add the following <intent-filter> to the Activity you want launched from the gesture: <intent-filter> <action android:name="android.intent.action.ASSIST" />

Android App Integrated with OK Google

吃可爱长大的小学妹 提交于 2019-11-26 15:43:07
问题 Is there a way to issue a voice command something like: OK GOOGLE ASK XXX Some App Specific Question or Command And have it launch "APP" with the recognized text: "Some App Specific Question or Command" My app has speech recognition as a service ... but when using my APP I can't ask questions that OK Google can handle ... 回答1: Through the Voice Actions API, your app can register for system actions, one of which is 'search' (so you could do 'search for Some Question or command on APP'). In the