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
2 answers

GSM/GPRS Module native integration on Raspberry 3 with Android Things

I would like to know if there is any way to make a GPRS / GSM module (SIM800L) as a "default" connection in android things that allows browsing the internet and making requests using the Android libraries.
4
votes
1 answer

How to access HardwarePropertiesManager on Android Things

I have a raspberry pi installed with the android things developer preview. I would like to monitor the CPU temperature and usage of the raspberry itself. My approach was to use the HardwarePropertiesManager like this: HardwarePropertiesManager…
TyrManuZ
  • 2,039
  • 1
  • 14
  • 23
4
votes
1 answer

How to update Android Things-Apps?

With Android Things, Android apps can also be run on IoT devices like a Raspberry Pi & Co. Right now, apps have to be installed via adb. What if those apps need to be updated, for example to fix a security issue? Many IoT devices have no display and…
Candor
  • 493
  • 4
  • 12
4
votes
2 answers

Error connecting adb on Android Things

I have a Intel Edison running Android Things. I was able to adb fine into the device using usb. I wanted to switch to using adb over tcp/ip. So I ran the following command. adb tcpip 5555 adb kill-server I then disconnected my device from the…
4
votes
2 answers

Android Things and Bluetooth

As far as I read about the dev boards, every SoC is capable to use Bluetooth. I didn't tested it yet, but can I use Android Things with a Bluetooth connection? My question is, how can I enable Bluetooth without an input device? If I want to enable…
mars3142
  • 2,501
  • 4
  • 28
  • 58
3
votes
0 answers

Is there a way to download the image for Android Things?

I've got the NXP i.MX7D Android Things Development board, but I can't update it because I can't login into the Android Things Console, and it's stuck on 0.8.0 Developer Preview 8.
3
votes
1 answer

Does Raspberry Pi 4 support Android Things?

I've been using Raspberry Pi 3 Model B with Android things but in this there is RAM issue so I want to switch it to the Raspberry Pi 4. Does anyone know about this?
3
votes
0 answers

Unable to playback mp4 video from android media recorder

I am making a Android Things app that records video for x time using the rasberry pie 3 camera module and when I try to open the newly created mp4 file, it says its unable to play? I have also noticed that all of the video footages are of a specific…
Jono
  • 17,341
  • 48
  • 135
  • 217
3
votes
2 answers

Manually configure network adapters on Android Things

I am trying to configure an Android Things client running on a Raspberry Pi 3b to connect to a third party device on a different network. I did hours of research, but couldn´t find a working solution. Topology The Topology consists of one Raspberry…
orange01
  • 1,584
  • 1
  • 16
  • 28
3
votes
1 answer

GPIO value always change

First time with android things, I tried to detect a button hit button GPIO but the value always change : 2018-07-09 15:53:00.123 1539-1539/com.pocdetector I/HomeActivity: GPIO changed, button true 2018-07-09 15:53:00.134 1539-1539/com.pocdetector…
Alex R.
  • 861
  • 1
  • 13
  • 28
3
votes
0 answers

bluetooth gatt server : how to set the appearance characteristic?

I've created a Bluetooth Gatt server on Android : I was able to implement/configure a new service (thanks to the https://github.com/androidthings/sample-bluetooth-le-gattserver), but unfortunately, I am not able to change the "appearance" of the…
Delta
  • 198
  • 7
3
votes
1 answer

android.os.ServiceSpecificException: GPIO2_IO02 is already in use (code 16)

I am working on android things(Pico i.MX7D I/O).I got android.os.ServiceSpecificException: GPIO2_IO02 is already in use (code 16) exception,What it means by this? Please help me. My sample program is cloned from …
happy_coding
  • 1,064
  • 1
  • 13
  • 24
3
votes
0 answers

HD Video Playback issue with android things

Has anyone been able to successfully play a HD 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…
3
votes
3 answers

BMP280 ServiceSpecificException: I/O error (code 5)

I try to use AndroidThings to measure temperature with Raspberry Pi 3 and BMP280. 3,3V i have choosed because of specification of BMP280: To power the board, give it the same power as the logic level of your microcontroller Then i want to…
anatoli
  • 1,663
  • 1
  • 17
  • 43
3
votes
3 answers

NXP Pico i.MX7D Device not detected in MacOS

Following this setup guide: https://developer.android.com/things/hardware/imx7d.html I am using USB Type-C cable to connect the board and the computer. The computer is using MacOS. I am unable to flash a default image into the device and throwing…
timekeeper
  • 698
  • 15
  • 37