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
0
votes
1 answer

Unable to connect to Android Things image on Raspberry Pi 3

I have a Raspberry Pi 3 with Android Things Image on it. I am able to see the image boot up (screenshot here) and I can see the IP Address but I cannot ping it from another computer on the same home network. What else can I check?
Neil Dey
  • 449
  • 2
  • 7
  • 18
0
votes
1 answer

Bluetooth LE connection from Intel Edison with Android Things DP4 fails with status 133

I'm attempting to establish a connection with the Intel Edison as a central and a regular android phone as a peripheral. The Edison detects the Android phone just fine and attempts to establish a connection like this: @Override public void…
0
votes
1 answer

Android Things UserSensor.Builder - unable to create distance sensor driver

I'm attempting to create an Android Things driver for the standard HC-SR04 ultrasonic sensor. I believe I've got the sequence of events correct: see footer, but have been unable to register it as a UserSensor. userSensor = UserSensor.Builder() …
Benjamin H
  • 5,164
  • 6
  • 34
  • 42
0
votes
0 answers

Using Google Mobile Vision API on Android Things

I'm trying to use Google Mobile Vision API on Android Things but apparently, it depends on Play Store as described by this stacktrace: 05-24 06:17:26.714 4993-4993/com.ee.foo W/GooglePlayServicesUtil: Google Play Store is missing. Error creating…
Marc Tan
  • 118
  • 1
  • 5
0
votes
1 answer

Raspberry Pi 3 Model B Bluetooth and Uart (Rx/Tx)

People, I am trying to use Bluetooth to read some data and read/write from a Rx/Tx serial too (Gpio 16 and 15 respectively) using Android Things dev preview 3, but seems that it not work. Looking at…
Stould
  • 15
  • 6
0
votes
1 answer

Android Things and Bluetooth Gatt Client (Central)

I've not done a lot of Android development and at best I'm a n00b! I'm looking at using "Android Things" on a RPi3 to connect to a sensor tag via BTLE. The tag is already configured and holds some data, it's running as a GATT Server and is the…
isa56k
  • 143
  • 1
  • 8
0
votes
0 answers

getDefaultCommandMap takes too long

I am trying to send a log file when my AndroidThings app starts up. I takes about 55 secs to execute the CommandMap.getDefaultCommandMap(); Log.i(LOGTAG,"Mail at 1"); MailcapCommandMap mc = (MailcapCommandMap)…
Milt
  • 41
  • 2
0
votes
0 answers

Is there a way to push updates to deployed android things board

I'm looking to start an internet of things project. I really like android things as a development environment, but there is one glaring problem. There seems to be no way to update an android things project after it has been deployed. My question is…
0
votes
2 answers

Unable to get advertising id

While running the demo (https://github.com/androidthings/doorbell) on my respberry PI, I run into error like the following: 01-01 00:11:00.830 5672-5672/com.company.androidthings.doorbell I/CameraManagerGlobal: Connecting to camera service 01-01…
Hong
  • 526
  • 6
  • 21
0
votes
1 answer

Switching between 2 Wifi networks, connecting fails

I'm having trouble switching between 2 networks programmatically on a Raspberry Pi 3 running Android things (but it should be the same as running normal Android). The first network is coming from a device server as an access point. It runs an FTP…
SJoos
  • 91
  • 8
0
votes
1 answer

Android Things with Raspberry Pi 3 - Unable to bring up launcher

I am attempting to set up my Android Things device on a new network and realized that, as I had an app preloaded on device, I am never getting to the Launcher and thus am never getting access to the the IP address required for connecting via ADB. Is…
Dhruv Gupta
  • 83
  • 1
  • 10
0
votes
2 answers

Can not turn off the raspberry 3 running Android Things

How can I turn off or turn a RaspberryPi 3 (using android things) apart from unplugging it? Thanks for any help and I do appreciate any kind of help!
Hay Trần
  • 564
  • 4
  • 22
0
votes
1 answer

USB camera (not RPi camera) isn't working on Android Things Preview 2

There are samples of using RPi camera, but none of them are useful. I have added permissions in the manifest file, but still the output is showing : No cameras found. Why? 02-22 19:24:42.936 2134-2134/com.example.androidthings.doorbell …
0
votes
1 answer

Android (Things) DHCP Server

I am working on a project using Android Things (Dev Preview 2). The project requires that up to 10 nodes be assigned IP addresses from a DHCP server. I have used isc-dhcp-server in the past with Linux, but cannot find any documentation on how to…
AzraelPwnz
  • 506
  • 2
  • 12
0
votes
2 answers

Wiegand 26 protocol on Android Things

I'm using Android things with a VSIONIS keypad in reader mode, which outputs on D0 and D1 pins in Wiegnad 26 format. I found a few libraries on how to do this on Arduino and have ported over the code, but cannot seem to make it work on Android…
Nelson.b.austin
  • 3,080
  • 6
  • 37
  • 63