G gzurrer New Member Licensed User Longtime User Aug 6, 2012 #1 Hello, I´m trying to use startActivityForResult in a Library. I started with the Voicerecognition example, since there is a Java code and B4A code example in the forums. But for any reason i´m not getting the event back to B4a. I appreciate your help!! The B4A code is in Voicerecognition.zip The java Code in VoiceRec.zip Attachments VoiceRec.zip 6.2 KB · Views: 322 VoiceRecognition.zip 6.2 KB · Views: 318 Last edited: Aug 8, 2012
Hello, I´m trying to use startActivityForResult in a Library. I started with the Voicerecognition example, since there is a Java code and B4A code example in the forums. But for any reason i´m not getting the event back to B4a. I appreciate your help!! The B4A code is in Voicerecognition.zip The java Code in VoiceRec.zip
Erel B4X founder Staff member Licensed User Longtime User Aug 6, 2012 #2 Have you seen this tutorial: Guide - Using onActivityResult ? Note that you should use File - Export as zip when uploading files to the forum.
Have you seen this tutorial: Guide - Using onActivityResult ? Note that you should use File - Export as zip when uploading files to the forum.
G gzurrer New Member Licensed User Longtime User Aug 7, 2012 #3 Ok, I updated the ZIP file, this time exported from B4A! Todat I learned something new. And sure, I've read the Tutorial many times, there I got the code of the voice recognition example. Sure I´m missing something, but I´m stuck! Thanks!
Ok, I updated the ZIP file, this time exported from B4A! Todat I learned something new. And sure, I've read the Tutorial many times, there I got the code of the voice recognition example. Sure I´m missing something, but I´m stuck! Thanks!
Erel B4X founder Staff member Licensed User Longtime User Aug 7, 2012 #4 The subs are lower cased: B4X: _eventName + "_Result" Should be: B4X: _eventName + "_result" You can put some log messages in your Java code to help you with debugging. You should use: B4X: Log.w("B4A", "...")
The subs are lower cased: B4X: _eventName + "_Result" Should be: B4X: _eventName + "_result" You can put some log messages in your Java code to help you with debugging. You should use: B4X: Log.w("B4A", "...")
G gzurrer New Member Licensed User Longtime User Aug 8, 2012 #5 What can I say! Thats the reason why I'm using B4A. Just 2 Uppercase letters....#&%?@! Thanks, Erel! I updated the code files!
What can I say! Thats the reason why I'm using B4A. Just 2 Uppercase letters....#&%?@! Thanks, Erel! I updated the code files!