지금

2014-11-09 3 views
0

내 검색 활동이 내 AndroidManifest.xml에이 코드 조각을 사용하여 이제 구글 SEARCH_ACTION를 연결하려고 구글에서 검색 쿼리를 수신 할 수 없음 : 나는 http://android-developers.blogspot.com/2014/10/the-fastest-route-between-voice-search.htmlhttps://developer.android.com/guide/components/intents-common.html#SearchOnApp에 지시에 따라하고지금

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

.

이것은 제대로 작동하지 않습니다. Google Now에서 검색하면 내 앱이 실행되지 않습니다. 나는 그것을 확인했다 :

  1. 이것은 OS/Google app/Locale의 올바른 버전에는 문제가 없다는 것을 확인하는 Eat 24 앱에서 작동한다.
  2. 내 앱 내부에서 앱을 실행하고 입력 된 검색어를 수신하여 SearchableActivity 코드에 문제가 없는지 확인할 수 있습니다.

누구나 사용할 수 있습니까? 내가 여기서 뭘 놓치고 있는지 알려주시겠습니까?

답변

2

음 ... Play 스토어에 앱을 게시해야합니다. https://plus.google.com/+AndroidDevelopers/posts/afSRdDQiy1N - Jarek Wilkiewicz의 의견을 찾아보세요. 다음에 이것을 시도하려고합니다.

+2

사실입니다. 먼저 adb를 사용하여 앱을 테스트 할 수 있습니다. 자세한 내용은 다음을 참조하십시오. http://stackoverflow.com/questions/26824604/how-can-i-trigger-the-com-google-android-gms-actions-search-action-google -now-ac –