Run Time Error from “Speech Recognizer Extension”

When using “Speech Recognizer Extension” with the following Downloads

Runtime Error
Attempt to invoke virtual method ‘java.lang.String android.content.Intent.resolveTypeIfNeeded(android.content.ContentResolver)’ on a null object reference
Note: You will not see another error reported for 5 seconds.

which Android device and Android version are you using for your tests?
did you try another Android version?
PS: I removed the direct download links and replaced them by the link to the extension on my webpage… direct download links are not allowed according to my terms and conditions… thank you…

Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

Daer Taifun
First of all Thank you for promptly responding to my report.
The information that you have asked me to provide:
The Android device

(Sorry hit the wrong key before finishing my Reply!)

The Android device: Moto G5 Plus.
Android version: 8.1.0

I am sorry for (inadvertently) not having followed terms/conditions on direct downloads.
I am kind of new to your website.

Finally, Thank you for your MIT App Inventor extensions; I am learning quite a bit from these.

  • Alagar R. (“Ramanujam”) Venkataswamy

could you please explain, when exactly that runtime error occurs?
could you please try the example project on another device?
also could you please try the speech recognizer component from the media drawer?


The sequence of steps preceding the error message:

• Open the project in my PC
• Click on “Connect”
• Select “Reset Connection”
• Select “AI Companion” ( … QR code/appears)
• Scan QR Code in the Phone
• As soon the scan is complete and 
• the App’s screen displayed in the phone

The error message is seen in both the PC and the Phone.

I will try, the example project, in another device, as you suggested, and will let you know of the outcome.
And, I might most likely have used the speech recognizer component from the media drawer without any problems a while ago; I will confirm later today.

Thanks again for your prompt response.

(Followup to my previous reply …)

I just checked my projects,
found the one that uses the speech recognizer component and
have launched, and used it without any problems/errors.

Well, I have good news!
Your extension does work without any problems in
Device: Nokia 7.1
OS: Android 10

I will look into this soon… be patient meanwhile… thank you…

No hurries; I have enough to learn in App Inventor to keep me busy for quite a while!

Thanks again for your time and for making these extensions available for us all.

  • Alagar R. Venkataswamy