Goolge Nowのように、端末のASSIT機能として動作するアプリケーションを作成する方法です。
Google Now(= Intent.ACTION_ASSIST)の起動トリガーでも登場した、
Intent.ACTION_ASSISTを使用します。
http://developer.android.com/reference/android/content/Intent.html#ACTION_ASSIST
AndroidManifest.xmlのactivityタグに記載しておけば起動可能です。
こんな感じでResolverに選択候補として表示されました。

と、いうことでGoogle Nowの代わりに、
iPhoneの『Siri』やDocomoさんの『しゃべってコンシェル』のような、
3rdベンダーアプリもASSIT機能として搭載可能ですね!!
Google Now(= Intent.ACTION_ASSIST)の起動トリガーでも登場した、
Intent.ACTION_ASSISTを使用します。
http://developer.android.com/reference/android/content/Intent.html#ACTION_ASSIST
AndroidManifest.xmlのactivityタグに記載しておけば起動可能です。
<activity android:name=".TestApp" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.ASSIST" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </activity>
こんな感じでResolverに選択候補として表示されました。

と、いうことでGoogle Nowの代わりに、
iPhoneの『Siri』やDocomoさんの『しゃべってコンシェル』のような、
3rdベンダーアプリもASSIT機能として搭載可能ですね!!
0 件のコメント:
コメントを投稿