On the Xiaomi Pad 6 Android 14 device, the ListView that scanned the device should close after a successful BLE connection, but it did not close and the communication process failed.
I suspected the MIT AI2 Companion app because the time when this problem occurred coincided with the up grade of “MIT AI2 Companion Version:2.72/2.72u”.
So I searched to see if it was possible to down grade to Version:2.71, but could not find it.
I thought that the version of the app was available for download along with the version history, but since they did not exist, I did not search deeply enough to find out if down grading was not possible due to the consistency with MIT's server.
In the meantime, if I downgrade to Version:2.71, AI Companion is fine, but the next version 2.73 or later, remains a problem.
Also, bug fixes in the current version 2.72 and later may affect the project.
Dear ANKE, I love you.
we already meet on this forum for another issue on ble entension.
I respect you so much and I want to tell you so.
after that, now i'm trying to use logcat as sugeest from ewpatton, but for now i have a lot of debug rows and i must understand how extract some significative data.
please can you try now to open your project on a2i and test if you can connect and run with companion?
my main problem is that the companion stops works (not refresh smarthphone display) if i add an extension.
if i install a previous project already compiled in apk it works perfectly. But if i recompile it it doesn't work the companion screen disappears.
is it possible to have the aia file of your project to see if it works with the companion?
here is the aia of a simple test.
i have tryed a old version of comapnion app (2.66) and with this works fine
I think like 818macot "I suspected the MIT AI2 Companion app because the time when this problem occurred coincided with the up grade of “MIT AI2 Companion Version:2.72/2.72u”."
Let me explain about the previous screenshot.
The base .ino is sending binary and receiving string.
I used its uuid for string sending because there will be many commands to send and receive.
Since base.ino is sending binary, I brought another uuid and left it because there was no need to delete it.
For .aia, I changed "RegisterForBytes" to "RegisterForStrings" and added "StringsReceived" to receive strings.
(I wonder now if it was necessary to add the uuid.
For .ino, could I have sent strings and binaries with a single uuid?)
The result is empty, so just to be sure, I re-downloaded from the following base github and compiled the .ino & .aia.
The result is still the same, just with a different uuid.
The screenshot is attached.
The current version 2.72 is in the process of being compatible with Android 14, so some models may have problems. Could you try downgrading version 2.71?
(2.71t3u is NG.)
ttps://apkpure.com/mit-ai2-companion/edu.mit.appinventor.aicompanion3
Solved on my Xiaomi Pad 6 Android 14 device.(2.72d2 is NG.)
2.72d2, which was introduced in another post, was NG on a Xiaomi Pad 6 Android 14 device.
Projects with imported extensions
1.1 After pressing the upgrade[OK] button, it remains silent (infinite loop) with no progress bar, just like 2.72, but when switching to a project without imported extensions, it becomes worse than 2.72.
2.72 loads the project, but 2.72d2 remains silent (infinite loop).
1.2 Pressing the [Not Now] button causes a Runtime Error.
Projects without imported extensions
2.1 After pressing the upgrade[OK] button, it remains silent (infinite loop)
Yes, but the problem is the companion that not show the image.
my mistake, this example was not to test the functionality of the extension but of the command
here too the entire screen does not appear.
the list view appears with the Buttonscan.Click event
Hmm, yesterday I had the problem on my Android 14 test device that the ListView.SelectionIndex was reset to 0 after setting it to invisible. No idea what went wrong, I was also surprised.