Questions tagged [android-things]

Android Things is an operating system for the Internet of Things based on the Android OS. It supports common peripherals like GPIO, SPI, I²C and UART with a single headed or headless app. When asking a question, don't use the Android tag unless it is common for both operating systems. It is a light weight version of Android OS, specially design for IOT devices.

The Android Things console will stop supporting new projects on January 5, 2021, and will be turned down for all existing projects on January 5, 2022. For more details, visit the FAQ page.

  • New APIs for IoT devices
  • Turnkey hardware solutions
  • Low barrier to entry
  • Build products at scale

Build connected devices for a wide variety of consumer, retail, and industrial applications.

Official documentation:

Android Things Official Web Site

Android Things SDK Overview

Android Things Release Notes

Supported Hardware Platforms

Official Repositories:

Official GitHub profile

User-space drivers

Peripheral Driver Samples

605 questions
4
votes
0 answers

Fail to find supported surface info - CameraId:null (CameraX) on android things

I have a raspberry pi 3 which is running android things on it. I have attached the camera, and I can also see the output in Peripherals -> Camera. I also want to get a preview of the camera and do image processing on each frame. Using CameraX api, I…
4
votes
1 answer

android things:Use Speech to text in Raspberry Pi 3 using android things

im using below code for speech to text for Raspberry Pi3 Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, …
Bhagyashri
  • 182
  • 1
  • 15
4
votes
2 answers

How to boot Android Things 0.6.1 DevPreview in CM3L (Computer Module 3 Lite)

Actually I can boot Android Things "0.6.1 Developer Preview" in Raspberry Pi 3 (RPI3), I'm develop a project with Computer Module 3 Lite (CM3L) this have the same processor of the Raspberry Pi 3 (RPI3) but I only see the rainbow screen, never…
4
votes
2 answers

Can't upload image from RPI 3 to Firebase Storage

I'm trying to upload an image from Raspberry Pi 3 to Firebase Storage but can't do it. I tried different versions of __Firebase_ libraries (11.4.2, 11.6.0, 11.8.0), but I always got the same result. I use OS Build OIM1.171126.016 Firebase…
4
votes
0 answers

Activating an additional USB Wifi Adapter

I'm trying to add a wifi hotspot/access point to my raspberry pi running Android Things OS. I figured I would do this by adding an additional USB Wifi Adapter (Edimax EW-7811Un) and bridge it with the pi's internal wifi adapter. Unfortunately, I am…
4
votes
1 answer

WiFi P2P network in Android Things

I would like to create a P2P WiFi network using Android Things (5.1) and a couple of Raspberry Pi 3 or alternatively using Bluetooth. I followed the guide in the Android Developer section…
Antonio La Marra
  • 5,949
  • 4
  • 15
  • 23
4
votes
2 answers

Android Things FCM

I've tried to use FCM with Android Things. I've imported the google json, make the changes in Manifest, subscribe the app to a Topic, but I did not receive a push message. The only thing I get is the Pushtoken from the server. So does anyone…
4
votes
1 answer

Android Things OTA Process

I want to know process (step-by-step) Android Things handles Bundle package from OTA console. As i know, Android Things device will check OTA update every period, if Bundle from console is available then device downloads Bundle package, Right? And…
4
votes
0 answers

Android Things - Unable to get Weather and Location

I'm trying to use the Google Awareness API in my IoT Project, however, when calling the Weather and Location API I'm receiving TIMEOUT errors. Gradle: compile 'com.google.android.gms:play-services-awareness:11.0.4' provided…
DaniloBertelli
  • 121
  • 1
  • 5
4
votes
1 answer

Android Things permission com.google.android.things.permission.MANAGE_INPUT_DRIVERS not found

I use RPi3 with Android Things 0.5.1. Although I have in my AndroidManifest.xml the permission: I get the exception: java.lang.SecurityException: Caller…
Alexander Tumanin
  • 1,638
  • 2
  • 23
  • 37
4
votes
1 answer

Android Things on tablet

Is it possible to use Android Things on a tablet? My project needs Android Things, but I can't use Raspberry for it, because it will be expensive. If not, what do I do to a "normal" Android (Android for tablets/phones) to have only my application,…
felipe.rce
  • 237
  • 2
  • 8
  • 35
4
votes
2 answers

Android Things: How to exit Android Settings screen?

I succeed to show Android Date Settings by calling : startActivityForResult(new Intent(android.provider.Settings.ACTION_DATE_SETTINGS), 0); but I don't know how to exit, there is no cancel/update button, no back button or navigation bar. Would…
Amael
  • 93
  • 1
  • 8
4
votes
0 answers

Android things lcd config

I'm trying to get a 5" LCD working with my raspberry pi 3 and Android Things Developer Preview 4.1. I've added this to my config.txt: max_usb_current=1 hdmi_group=2 hdmi_mode=1 hdmi_mode=87 hdmi_cvt 800 480 60 6 0 0 0 All I get is a white screen…
Tamas
  • 1,344
  • 2
  • 12
  • 14
4
votes
1 answer

Does Android Things Support RenderScript Compute?

I know that Android Things supports the NDK. I cannot find a reference that states, one way or another, whether Android Things supports RenderScript Compute. My assumption is no (on the grounds that not all Things platforms will have a suitable…
CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
4
votes
4 answers

Reboot programmatically Android Things

I want to use this code in order to reboot my RPI3 running Android Things: public static void Reboot() { try { Process proc = Runtime.getRuntime().exec(new String[]{"su", "-c", "reboot"}); proc.waitFor(); } catch (Exception…
Daniele
  • 668
  • 2
  • 10
  • 25