Google Voice Integration to App: Google unable to open my application -




i trying search app using google voice command like: "search on app_name".

and using app pluto (https://play.google.com/store/apps/details?id=com.tamal.voicesearch). problem voice search working 2 weeks (for other apps). not working in of devices in working. more interestingly in these devices voice search working application flipkart.

one weird solution:

i spend complete day on researching on issue , cleared data of google app , uninstall updates , started working on samsung s4 device (android version: 5.0.1 , google app version 7.8.22.21 ), please check attachment. in other 2 devices moto g4 (android version: 7.0.0) , nexus 5 (android version: 6.0.1) still not working (even after clearing data , uninstalling updates of google app). if "search on pluto", doing web search.

i have researched didn't explanation or solution behavior yet. not understanding inconsistency @ all. using following documentation same:

https://developer.android.com/guide/components/intents-common.html#search https://www.youtube.com/watch?v=ps1fbb5qwei

my code simple.. the following in manifest..

<activity android:name=".searchableactivity">     <intent-filter>         <action android:name="com.google.android.gms.actions.search_action"/>         <category android:name="android.intent.category.default"/>         <category android:name="android.intent.category.voice" />     </intent-filter> </activity> 

and in activity fetching query string..

if (intent != null && action_voice_search.equals(intent.getaction())) {     string query = intent.getstringextra(searchmanager.query); } 

and

compilesdkversion 26 

please help.

working screen shot in samsung s4

enter image description here

not working screen shot in moto g4

enter image description here





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -