hi I am trying to develop a voice enabled menu app . It is going to be a very simple app with accessibily to the basic functions like menu, phonebook, contacts, dial the contact selected which will help visually impaired people to access phone more easily.Using a separate speech engine and converting the voice-to-text, I am thinking of proceeding in the follwoing steps:
-Declaring a global string variable in the manifest.xml which will be assigned the converted voice into 'text' command -by a swing statement, i compare that text with several options(menu, phonebook, contacts, dial) and assign an integer value when it matches. This value will be the same as the integer code that is already assigned to the item selected in the sdk. For example, if it is MENU then it will be assigned the constant value 82(0x00000052) as in the keyEvent class. Then, declaring a variable, action= 0 , this will act as ACTION_DOWN. -I can now pass this action and the int code in the KeyEvent contructor, using the super class constructor. -then check if onKeyDown() returns true (i.e a key down event has occured) -From here, how do I make my code bind to the mechanism as android would usually perform for the event/Intent? Especially the manifest.xml is a bit confusing. I would really appreciate if any one can give me a lead to this. thanks.... Skyy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

