10 Items found
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 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.
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 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
Kotlin and the KDoc documentation - At SoftBank Robotics, we use Kotlin to develop the QiSDK API for Pepper robots and most libraries and applications. In this article, we will introduce Kotlin and the KDoc, explain why we made that choice and how to make a smooth transition from Java to Kotlin.
How to manually synchronize your code with Gradle and understand the Android Studio cache - This tip explains how to synchronize your project with Gradle when updating build.gradle files and provides insight on handling the cache when using Android Studio. There are multiple levels of cache. We will explain the difference between the cache behind the "Invalidate cache and restart" menu, the "Clean project" one and other gradle caches involved in building an Android project. This article is not specific to Pepper QiSDK and introduces good practices for using the IDE.