Reputation: 2049
I am trying to connect Google Now SEARCH_ACTION
with my searchable activity using this piece of code in my AndroidManifest.xml
:
<activity android:name=".SearchableActivity">
<intent-filter>
<action android:name="com.google.android.gms.actions.SEARCH_ACTION"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
I am following instructions on http://android-developers.blogspot.com/2014/10/the-fastest-route-between-voice-search.html and https://developer.android.com/guide/components/intents-common.html#SearchOnApp.
This is just not working. The search from Google Now is not launching my app. I have verified that:
SearchableActivity
code doesn't have any issues.Anyone has gotten this to work? Could you please let me know what I am missing here?
Upvotes: 0
Views: 232
Reputation: 2049
Well... looks like the app needs to be published on Play Store: https://plus.google.com/+AndroidDevelopers/posts/afSRdDQiy1N - look for comments by Jarek Wilkiewicz. Going to try this next.
Upvotes: 2