Hi,
I'm trying to make an application which can launch the google Voice Search
in Ice Scream Sandwitch.
In version older than gigerbread, its quite easy as we juste must send the
correct intent :
Intent i = new Intent(RecognizerIntent.ACTION_WEB_SEARCH);
PackageManager manager = getPackageManager();
try {
i =
manager.getLaunchIntentForPackage("com.google.android.voicesearch");
i.addCategory(Intent.CATEGORY_LAUNCHER);
startActivity(i);
} catch (Exception e) {
e.printStackTrace();
}
However as voice search is only a widget and not any more a standard
application, we can't use it.
Does anyone know how do this in ICS ?
Best Regards and thank you for your answers !!
Mickael
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en