I'm hoping somebody has some wisdom regarding this issue.
This year, we are using the same phones, with the same mBots, with the same mBot 1.9 extension for app inventor and everything is frustrating and terrible.
App Inventor is constantly crashing saying something to the effect that "Unfortunately App Inventor has Stopped working".
Things we've tried:
(1) Flashing the phones with the default factory ROM.
(2) Turning Bluetooth on/off again.
(3) Restarting phones
(4) Updating robot firmware
(5) Updating phone software
(6) Putting fresh alkaline batteries in the robot
(7) Using different backup phones
After all of this, I just get the feeling that it's somehow App Inventor's Bluetooth connection process. So, what I'm asking is, does anybody have any suggestions? Anything simple that I've missed trying?
As you all know, debugging is difficult with App Inventor, since the messages aren't very specific. "Unfortunately App Inventor has stopped working" doesn't give a lot of breadcrumbs.
Any advice or suggestions would be appreciated.
For what it's worth, here's some example code. The crashing seems to happen at the Bluetooth connection point.