Re: [android-developers] how to launch Voice Search programatically (ICS)

2012-08-24 Thread Mickaël Gachon
The puprose is to launch the voice search without using the touch-screnn when you drive your car. Indeed the touch-screen requires to pay more attention to the phone than to the road and it's quite dangerous I think. Le jeudi 23 août 2012 21:34:20 UTC+2, TreKing a écrit : On Thu, Aug 23, 2012

[android-developers] how to launch Voice Search programatically (ICS)

2012-08-23 Thread Mickaël Gachon
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

Re: [android-developers] how to launch Voice Search programatically (ICS)

2012-08-23 Thread TreKing
On Thu, Aug 23, 2012 at 6:23 AM, Mickaël Gachon gachon.mick...@gmail.comwrote: I'm trying to make an application which can launch the google Voice Search in Ice Scream Sandwitch. For what purpose? In general, hardcoding package names as you are doing is a bad idea and error-prone, as you have