Refactoring your code to use AndroidX Jetpack made easy - Using AndroidX is highly recommended: Pepper applications and libraries developed at SoftBank Robotics use it, and Google announced it as the new standard. Here you will learn how to migrate a project to AndroidX using the "Refactor > Migrate to AndroidX" menu in Android Studio. In most cases, it will do the trick without any more hassle. Still, you should take the time to read the prerequisites and infos in this blog article, as following the recommended steps will make activating Jetpack and migrating from Support Library to AndroidX easier.
How to install a language package and get speech recognition in new languages - As international talking robots, Pepper and NAO can access many languages for speech recognition, and its management is quite easy. This quick how-to explains how to set up new languages installing a language pack in a few simple steps.
How to reduce Android APK size to optimize deployment on Pepper QiSDK robot - As a developer, you may want to accelerate the build and the deployment of an application on Pepper from Android Studio. Here is a useful optimization trick to optimize the build and deploy time, to reduce the size of the application package (APK) and therefore improve installation and deployment time.
How to use the contextual shortcut Alt+Enter or Option+Enter - Among many keyboard shortcuts, Android Studio provides a very useful context aware shortcut to manage intention actions: Alt+Enter (non Mac world) or Option+Enter (Mac world)
How to use logs in Android Studio to develop QiSDK application on Pepper robot - The aim of this tutorial is to give a quick overview of logging in the Android Studio environment. As a live example to put logs into practice, we will also focus on the application lifecycle in the QiSDK context which is based on Android lifecycle.
You might face difficulties running the Pepper (QiSDK) Emulator from Android Studio under Linux Ubuntu 18.04 and a SDK error message may be displayed. You will find below how to solve this issue. This has been tested using API 4 of the SDK plugin, Android Studio 3.4.1