Put my app in the Google Now Phone search list (Android Global Search) -


i want make app searchable in google quick search box. followed examples still doesn't work. official doc isn't clear @ how make case work.

now after checking these stackoverflow issues, start wondering if feature still available developer?

is global search in android still available developer?

how app appear in google now's phone search list?

i see few apps still make "phone search" list in quick search box settings. if so, can shed light me? searchable config xml follows

<searchable xmlns:android="http://schemas.android.com/apk/res/android"     android:label="@string/app_name"     android:hint="@string/search_hint"     android:searchsuggestauthority="@string/search_authority"     android:searchsuggestintentaction="android.intent.action.view"     android:searchsuggestintentdata="content://some_search_authority"     android:includeinglobalsearch="true"> </searchable> 

in androidmanifest.xml file, have meta-data specified searchableactivity e.g.

<activity ...>     <intent-filter>         <action android:name="android.intent.action.search" />     </intent-filter>     <meta-data         android:name="android.app.searchable"         android:resource="@xml/searchable" /> </activity> 

it's not possible (at least, yet).

google music has google card , have similar, need create own.
unfortunately, has no public api yet: google integrations

now cards apps under development , not available apps. we'll let know when able onboard more partners.

what can add app list of suggestion command "play (band name) (song name)":

enter image description here

to make happen, have add intent-fiters activity, should opened androidmanifest:

    <activity         android:name=".musicactivity">         <intent-filter>             <action android:name="android.intent.action.main" />             <category android:name="android.intent.category.launcher" />         </intent-filter>         <intent-filter>             <action android:name="android.media.action.media_play_from_search" />             <category android:name="android.intent.category.default" />         </intent-filter>     </activity> 

you can check out list of google voice commands here: a list of google voice commands

i hope, helps


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

datatable - Matlab struct computations -