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
36
votes
3 answers

Powering off Android Things

Usually, to power down an Android device, you do this via the power button of course. You can also do adb shell and reboot -p. But in Android Things, I don't see a way to shut down the device. If it is no problem, I'd love to just cut the power of…
Boy
  • 7,010
  • 4
  • 54
  • 68
16
votes
7 answers

Android Things - How do I connect to my Raspberry Pi when I don't know the IP address

I have successfully managed to install the Android Things Dev Preview onto my Raspberry Pi. I have a problem though. When I first started installing my own applications I was able to connect to the Raspberry Pi through Ethernet, because it displayed…
riggaroo
  • 2,584
  • 20
  • 34
15
votes
1 answer

Does Android Things support the Raspberry Pi 3 model B+?

Has anyone tested Android Things on the Raspberry Pi 3 model B+ yet? When I attempt to boot the Pi 3 B+ with an Android Things image, it remains on the initial multi-colour boot screen and nothing further happens. Power is fine and same micro SD…
NES_4Life
  • 1,055
  • 1
  • 8
  • 14
10
votes
4 answers

Screen orientation on Raspberry Pi 3 with Android things

I've just bought a Raspberry Pi 3 with a 7" Display touch screen and a casing. Unfortunately, the casing can't allow me to rotate manually the screen so my apps are running upside down. I've tried to do it from the console using the following adb…
Bibu
  • 1,249
  • 2
  • 17
  • 40
10
votes
3 answers

Android Things Emulator

I was wondering if there is a way to set up an emulator in Android Studio using the system image that can be downloaded from the Android Things website. I already have a Raspberry Pi 3, but I always have to plug it into the tv which is not very…
VollNoob
  • 267
  • 4
  • 15
10
votes
2 answers

UART peripherals on Android Things for Raspberry Pi 3

How do I use UART peripherals on Android Things for Raspberry Pi 3? It seems that by default it is assigned the linux console.
proppy
  • 10,495
  • 5
  • 37
  • 66
9
votes
3 answers

Android Things video playback on Raspberry Pi

Has anyone been able to successfully play a video using Android Things on a Raspberry Pi? If so was there anything special you had to do to get it to work? If not does any one know why it isn't working? I made a simple video player that plays a…
Omar Rodriguez
  • 429
  • 5
  • 13
9
votes
2 answers

How to set wifi to Android Things without an ethernet cable or adb

I'm interested in knowing how to set the first wifi on android things (not android phone) without access to a network cable, for a fresh install. There certainly must be a way to put the information in the SD card right after copying the OS image.…
Fabio
  • 2,654
  • 16
  • 31
9
votes
6 answers

Android Things intent for boot

When I reboot after deploying an application to Android Things the application doesn't start. Is there a specific intent to start an application on boot?
proppy
  • 10,495
  • 5
  • 37
  • 66
8
votes
1 answer

Android video recorder: failed to get surface

Hi I am trying to use the camera v2 API to record video using a Raspberry Pi 3 device that uses the Raspberry Pi camera module attached to it. I am developing this using Android Things with Kotlin. Here is how my video recording code looks like. …
Jono
  • 17,341
  • 48
  • 135
  • 217
8
votes
3 answers

connect to Raspberry Pi 3 using adb

How do I connect w/ adb to the Raspberry Pi 3 running Android Things?
proppy
  • 10,495
  • 5
  • 37
  • 66
7
votes
1 answer

Reading temperature through DHT11 using Android Things

I am using Raspberry pi3 and DHT11 sensor for temperature monitoring project. I have following pin positions VCC to pin no : 2 Ground to pin no : 6 Output to GPIO : BCM22 i.e pin no 15 Code that I have used: public class WeatherStationActivity…
Manoj
  • 2,799
  • 5
  • 30
  • 49
7
votes
2 answers

Check if a device is running Android-Things

Is it possible to perform a runtime check to see if a device is running Android-Things?
Roberto Betancourt
  • 2,375
  • 3
  • 27
  • 35
7
votes
2 answers

OTA for Android Things

How can I update my Android Things preview 1 with preview 2? Is there an automatic OTA available or isn't this possible right now, so that I have to flash the sdcard (from my Raspberry Pi)?
mars3142
  • 2,501
  • 4
  • 28
  • 58
7
votes
3 answers

How to request permission on Android Things?

I'm trying to write to a value on AT. I've already declared required permission as follow in manifest, And try to request permission at run-time, AT shows windows regarding…
ierturk
  • 452
  • 6
  • 22
1
2 3
40 41