MIT App Inventor

119 views
Skip to first unread message

Ray Swanson

unread,
Oct 13, 2016, 2:40:13 PM10/13/16
to Recon Developers
Hi,
I have used MIT App Inventor to write an Android App.  MIT App Inventor is a web based app development environment and allows you to load the app to an Android device by either scanning a QR code or downloading the app file to your computer.  You can then move the file to the Downloads folder of the Android device, double click it and it will self install.  I have debugged my app on an Android phone but now want to load it on to my target Recon Jet sunglasses and run it.

Using a MAC I can run Android File Transfer which allows me to get the apk file on to the Jets.  How do I then get the file to self-install?  Nothing on the Jet sunglasses lets me see the file structure and double click the apk file.  Or, is there a way to side load the app on to the Jets directly?  Note that the MIT App Inventor environment does not give you the Java source file so I can't put the code in to something like Android Studio and then side load it.

Thanks,
Ray Swanson

Alex McRoberts

unread,
Oct 13, 2016, 8:00:03 PM10/13/16
to Recon Developers
Hi Ray,

I'd be really interested in seeing the app that you've come up with using the MIT App Inventor. Now that you've downloaded the apk to your Mac, you'll need to use a tool called "adb" – Android Debug Bridge. You can download a version of adb that works with Jet at http://www.reconinstruments.com/wp-content/recon-sdk/adb.zip

Once you've unzipped this, you'll need to open Terminal. If we assume that you've downloaded adb.zip to ~/Downloads and unzipped adb to ~/Downloads/adb, you'll to navigate to this directory in Terminal using the following command:

cd ~/Downloads/adb/adb4mac

Then to install the apk you can run the following command:

adb install -r /path/on/mac/to/the.apk

This will install the apk on your Jet. If you make any further changes with the MIT App Inventor, and have download the apk you can repeat the steps above.

As a side note, our forums have moved to: http://engage.reconinstruments.com/forums – please post any updates to that forum.

F Dah

unread,
Nov 26, 2022, 2:34:49 PM11/26/22
to Recon Developers
bonjour

apres quelques années avez vous reussi à utiliser vos lunettes?

cdt

Reply all
Reply to author
Forward
0 new messages