How to make speech recognizer rwork on whole screen

view full story

http://stackoverflow.com – I am making an application for visually impaired people and for that I want that whenever user touches anywhere on screen the speech recognizer should start. I have made speech recognizer and other things..but I am not able to make my speech recognizer to work on TouchListener... TouchListener is not taking the activity as view. application crashes Complete code is as below. public class MainActivity extends Activity { private static final int REQUEST_CODE = 1234; private ListView wordsList; protected Button TextToSpeech; /** * Called with the activity is first created. */ @Override pub (HowTos)