Releases: AutonomicPerfectionist/MyRobotLab-Android
v0.0.1-alpha
This is the first alpha release of MyRobotLab Android. This release depends on the ap-android-alpha-1 branch of MyRobotLab and may not function in the future.
Compatible Devices
This release should be compatible with Android phones and tablets down to Android 5.0 Lollipop. There exists an issue where the WebGui tab does not load the page in older versions, however, services should still function as normal.
How to Run
- Download the attached APK on your Android device and open it; you may need to grant permissions to your browser or file manager to install applications.
- Clone MyRobotLab
- Checkout the
ap-android-alpha-1branch in your newly clone git repo - Build with
mvn package -DskipTests - Copy the
myrobotlab.jarfile from the generatedtarget/directory and place it in the root of the cloned repo next tomyrobotlab.sh. - Run
myrobotlab.sh, making sure you have Java 11 installed and it is the default. - Open the app on your phone and click
Connect, enter the IP address of the computer where MRL is running in the host field and enter8888in the port field. - If the connection is successful, the
Connectbutton will switch toDisconnect. Otherwise, a message will appear telling you an error occurred. Now you may start services and use them as you wish.
Examples
Example scripts to be run from the MRL Python service are available in this repo's examples/ directory.
Known Issues
This release has several known issues that will be fixed in later releases.
- The list of running services is not updated immediately. The user must switch to a different tab and then back to update the list.
- Two of the implemented services do not implement the full service type interface.
AndroidSpeechRecognitiononly implements{start|stop}Listeningandpublish{Listening|Recognized}.AndroidTTSonly implementsspeak()andonText(). - The services are ran on the app's view model thread and may be put to sleep when the device goes to sleep, or the app is no longer in the foreground.
- Starting an Android service will cause the WebGui to no longer render service tabs on a reload. This needs to be investigated on the MRL side.
- The
AndroidTTSservice will not output audio the first timespeak()is called. Just call it again, and it should work. - The WebGui tab does not load the webpage on older Android versions
There may be additional issues with this release, check the Issues list on this repo and if you believe you've encountered one not stated here or there feel free to open a new issue.