Hi all,
Would need advice on how should I go about getting the context to be used for the class below in Corona Enterprise.
public static SpeechRecognizer createSpeechRecognizer (Context context)
Thanks.
Hi all,
Would need advice on how should I go about getting the context to be used for the class below in Corona Enterprise.
public static SpeechRecognizer createSpeechRecognizer (Context context)
Thanks.
I am getting this error. How do I access the applications main thread?
SpeechRecognizer should be used only from the application’s main thread.
Anyone can help? :(
The corona enterprise java docs document this along with other stuff you will need to know, when using Corona enterprise with Android dev.
Specifically you are looking for this: http://docs.coronalabs.com/native/android/html/com/ansca/corona/CoronaEnvironment.html#getApplicationContext()
Full docs here: http://docs.coronalabs.com/native/android/html/overview-summary.html
Thank you very much. That’s help a lot! :)
I am getting this error. How do I access the applications main thread?
SpeechRecognizer should be used only from the application’s main thread.
Anyone can help? :(
The corona enterprise java docs document this along with other stuff you will need to know, when using Corona enterprise with Android dev.
Specifically you are looking for this: http://docs.coronalabs.com/native/android/html/com/ansca/corona/CoronaEnvironment.html#getApplicationContext()
Full docs here: http://docs.coronalabs.com/native/android/html/overview-summary.html
Thank you very much. That’s help a lot! :)