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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
232 views

Migrate from legacy FCM APIs to HTTP v1: getting the Oath2 Access tokens in Android

My home automatization project had been built on Android Things. It runs still OK. It contains, among others, also a ability to send FCM messages and some data manipulations in Firebase database and ...
Majo's user avatar
  • 423
0 votes
1 answer
200 views

How to use Pico i.MX7 Development Kit for Android Things without ... Android things

I have Pico i.MX7 Development Kit for Android Things https://www.nxp.com/docs/en/user-guide/PICO-IMX7UL-USG.pdf other than Pico-PI rev b1 it has other hardware, including screen https://medium.com/...
karabara's user avatar
  • 547
0 votes
1 answer
570 views

Using two cameras at a same time in Android Things

I am in a situation where I need to use two cameras at a same time. I have been looking up in internet for Camera2 api examples. Although not successful in developing my own camera app the way I want ...
sujan_014's user avatar
  • 516
3 votes
0 answers
118 views

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.
Petroid 2470's user avatar
1 vote
1 answer
320 views

Problem in Uart callback in Android Things Uart

I am using Odroid N2+ board for transmitting and receiving data from UART and turning GPIO ON and OFF. The GPIO part is working alright. When I put the code for transmitting only, there was no problem....
sujan_014's user avatar
  • 516
1 vote
0 answers
196 views

Is it possible build image from Android things's source code

My company develop some app on Android things past years. I know Google alread had give up the project. But my boss want to try if it possilbe to build the image from the source code, make our product ...
如果人生能重來's user avatar
4 votes
1 answer
581 views

How to set device owner on Android Things?

I would like to set my Android app as device owner on a device running Android Things. (I know that Android Things is getting shut down, but still I would need to make it work) I tried the usual ...
sdabet's user avatar
  • 18.4k
1 vote
2 answers
182 views

public class PeripheralManager - returning all stubs

I have imported implementation 'com.google.android.things:androidthings:1.0' And when I execute code, it throws a runtime error because inside of the PeripheralManager class the methods are all stubs: ...
Tim Nuwin's user avatar
  • 2,775
2 votes
1 answer
149 views

Update Android Things app via USB and package installer

Due to the shutdown of Android Things console in 2022 I would like to know if someone of you tried to update the app via USB. I tried with no success: First try: Intent intent = new Intent(Intent....
Daniele's user avatar
  • 668
0 votes
0 answers
186 views

Error when triying to recieve MQTT message to IoT Device from remote Mosquitto broker

I coded an Android application for publishing and suscribing to Mosquitto broker using MQTT paho library and I tested it under different scenarios. I've already tested my application and it works ...
Antonio Delgado's user avatar
1 vote
2 answers
196 views

Android Things console will be turned down for all existing projects on January 5, 2022

Android Things posted this: 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." We are using ...
sugandha sharma's user avatar
1 vote
2 answers
103 views

You've reached the device limit. Some features will not be enabled. Android Things OTA

I have done Android Things OTA remote update 4 times and it was successfully happened. But this time it is giving error which is "You've reached the device limit. Some features will not be ...
sugandha sharma's user avatar
0 votes
2 answers
446 views

Error when Downloading Android Things image for Raspberry Pi 3

I am trying to download an Android Things image for Raspberry Pi 3 and I get this 403 Forbidden error. What can I do? What do you want to do? 1 - Install Android Things and optionally set up Wi-Fi 2 - ...
Louis Friedrich's user avatar
0 votes
1 answer
239 views

Raspberry Pi 3 Model B (Android things OS) Error: Failed to open /dev/ttyAMA0: No such file or directory

I am a beginner in Android and testing Android code in which I am receiving and sending data through UART communication. Hardware for communication- MAX232 device which is connected to Raspberry Pi3 ...
sugandha sharma's user avatar
0 votes
2 answers
902 views

Root access works with adb, but root process on Android Studio doesn't (Android Things)

Currently I'am working on an aplication via Android Studio, that executes commands using the next sintaxis: Process p = Runtime.getRuntime().exec(new String[] { "su", "-c", "...
Antonio Delgado's user avatar
1 vote
1 answer
112 views

How to add keyboard languages to Android Things 1.0.15

I need to add languages to AOSP keyboard in Android Things version 1.0.15. When I try to modify the language pressing long the button (",") next to the spacebar the app crashes: android....
Daniele's user avatar
  • 668
0 votes
1 answer
74 views

How to update apps in Android things?

I'm new in Android Things and was trying to do OTA updates. In Android things console whenever I pushed a new OTA, along with the new app version, it refreshed the image as well. However, I want my ...
psk's user avatar
  • 11
0 votes
1 answer
358 views

why button.ispressed() doesn't work on android things

Hi I'm trying to light up led on android thing only when pressing the button(not physical button) so I tried this code below but it doesn't work for the method it's not pressed: I want to be led turn ...
amir ahmadi's user avatar
1 vote
1 answer
105 views

Are drivers for android things compatible with the regular Android OS?

so my original goal was to install an external GPS module to a single board computer running android and be able to run navigation apps using the GPS data from the GPS module. I first tried using a ...
29belgrade29's user avatar
0 votes
0 answers
90 views

Controlling on-board LEDs using Android Things on SDM845

I'm new to Android development, so I'm not familiar with the error message I'm getting. I need to control three on-board LEDs while using a recording app. I've researched two possible solutions. The ...
Rndunning's user avatar
1 vote
1 answer
329 views

Custom Location Services with external GPS connected to Raspberry Pi with android things

Hello I am wanting to connect an external GPS unit via I2C or serial to a raspberry pi 3 running android things to have this GPS unit provide location data. So far using the Rasbarian OS I have a ...
biglemon29's user avatar
0 votes
0 answers
79 views

Android Thing Raspberry Pi installed apk starting issue

I have a Raspberry Pi with Android Things. Android Things image installed in Raspberry Pi is build with latest configuration. I have a project which is getting installed in Android Thing(Raspberry Pi) ...
S.K.'s user avatar
  • 11
0 votes
2 answers
166 views

Configure and Test Ethernet, Wi-fi and Bluetooth Peripherals in Android Thing Device

I developed an Android App to test the peripherals in an Android Thing using the information given in the link https://developer.android.com/things/sdk/pio/gpio. The link has given support to ...
user3201343's user avatar
-1 votes
1 answer
101 views

Android-Things: Migrate gpiocallback functions to suspendcoroutine functions

Following the example in the photo below, I want to migrate a function with callback to a SuspendCoroutine function: 1) Is it possible to transpose the code below to SuspendCoroutine? (I ask why ...
user avatar
0 votes
0 answers
181 views

Is it possible to run AndroidThings on Raspberry Pi 3 Model B+

Im wondering if it is possible to run AndroidThings on a Raspberry Pi 3 Model B+ Ive been following this tutorial : Android Things - LED Blinker It seems to state that Raspberry Pi 3 Model B is ...
Shodgson's user avatar
0 votes
2 answers
81 views

GPIO02 and GPIO05 not working on i.MX7D android things

I am trying to write out to GPI pins on the ANDROID THINGS i.MX7D. GPIO6 pins seem to work fine but writing out to GPIO5 or GPIO2 does not. I have leds connected to the pins and have tried using an ...
Paul Carff's user avatar
1 vote
1 answer
775 views

SPI and I2C protocol in android

I'm developing a sensor dongle in small size like wireless mouse dongle. can I send sensor data to android device over USB port with I2C or SPI protocol? the microcotroller doesnt support USB protocol ...
siavosh noor's user avatar
1 vote
0 answers
47 views

Reset Raspberry Pi 3 Model B through code [duplicate]

Can it be possible to reset or restart RPI 3 Model B through code? I am using OS - Android Things
sugandha sharma's user avatar
0 votes
1 answer
119 views

Android Things console not allowing me to create a build

I'm trying to build my first Android Things application. To run it on my Raspberry Pi I need to create a build with my application. The problem happens when I try to add my application to the build. ...
Uallas's user avatar
  • 61
0 votes
2 answers
334 views

Problem access to GPIO rasbery pi 3 with android things

I want to turn on A LED with android things and raspberry Pi 3. I did it as instructed in https://developer.android.com/things/sdk/pio/gpio. And I am using last android things version (1.0.15). any ...
Ehsan Nikaeen's user avatar
0 votes
1 answer
1k views

How to use USB to RS232 communication with Android Things

I am using MAX232 device for UART(Raspberry Pi) to RS232 communication(Other Board). But I want to use USB to Serial cable for this. I have attached the image of a cable. How can I use this in Android ...
sugandha sharma's user avatar
0 votes
1 answer
61 views

Restart RPI 3 Model B Andoid Things remotely

I want to restart my raspberry pi 3 model B remotely. I am running Android Things OS on RPi. Can anyone tell how can I do this?
sugandha sharma's user avatar
0 votes
1 answer
118 views

Android Things Project with Empty Activity on a Raspberry Pi 3 Model B

I just downloaded an Android Things Image and flashed a SD-Card for the Raspberry PI 3 Model B, ok, it worked. I connected the Rasperry to my Network and created an "Android Things Empty Activity" ...
MeerArtefakt's user avatar
0 votes
1 answer
547 views

Error in access PeripheralManager class in Xamarin.Android

Trying to get the PeripheralManager class in Xamarin application and got the following error. Target API : 29 Error logs: Java.Lang.RuntimeException stack trace --- java.lang....
Selvaganesan Saminathan's user avatar
2 votes
2 answers
309 views

Odroid N2 "getGpioList()" returns empty array, can't access gpio ports

Im running Lineage 16.0 on the Odroid N2. I want to access the GPIO pins via an Android App and have found something interesting inside the Android-Things documentary. https://developer.android.com/...
RaspberryDrifter's user avatar
2 votes
1 answer
110 views

How do I solve INSTALL_FAILED_MISSING_SHARED_LIBRARY for running an Android Things app out of the box?

I'm trying to follow Android Developers' guide here on making an Android Things project, but I'm totally stuck on how to get it to run. I'm trying to run it on a physical Pixel 3 device via ADB and I ...
GhostRavenstorm's user avatar
2 votes
2 answers
1k views

Connecting Android studio to raspberry pi +touch screen dispaly(Android things)

I am doing a project using Android things,I have downloaded image and flashed in memory card ,n I got Android things os screen.... Until this is all fine.. Now I want develop app..how to connect to ...
Vishwanath S Kumbar's user avatar
0 votes
1 answer
233 views

How to run Android Things App Inventor Companion on RasPi 3b?

I am building an Android Things device which should run an app built in MIT App Inventor. The app must use 4 GPIO pins for output. To accomplish this, my plan is to use an Android Things GPIO ...
themightymux's user avatar
1 vote
0 answers
230 views

raspberry pi screen mirroring performance

I've built a version of Android Things on a Raspberry Pi 3B and have been experimenting with screen mirroring apps (e.g. Airscreen, CASTReceiver, etc.). The performance is pretty bad. If I use ...
carlbwav's user avatar
1 vote
1 answer
55 views

Bearing and Speed are not available when minTime and minDistance are set in Android Things

I have an issue when I set the parameters minTime and minDistance, the locations are returned without speed and bearing information, I am using AndroidThings in a Raspberry PI. I have another version ...
jonathan's user avatar
  • 422
-2 votes
1 answer
519 views

My other imx7d pico android things start kit died, again

1) I had this problem with my imx7d-pico SOM module: https://community.nxp.com/message/1228990 I tried to buy another module (only) and/or get technical support, but Technexion claimed that as a ...
user avatar
4 votes
0 answers
808 views

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 ...
Arush Gupta's user avatar
-1 votes
2 answers
2k views

Android Studio won't apply changes in code

EDIT2: Seems to be working now. It was just my computer that were so slow so I thought nothing was happening... I followed the instructions in the Android Studio introduction meticulously, but it ...
user9692590's user avatar
5 votes
4 answers
3k views

Is there a way to access or control raspberry pi GPIO pins using flutter app running on android things?

I am trying to build a project based on IoT with flutter, android things, and raspberry pi. For that, I need to access raspberry pi GPIO pins through my flutter app. Firstly I have installed android ...
Jayraj Ghoniya's user avatar
5 votes
3 answers
18k views

INSTALL_FAILED_MISSING_SHARED_LIBRARY Error When Trying To Run Android App

I've never made an Android app before and I'm this isn't a great start. I made a blank project on Android studios as a test and tried to run the program on my Huawei P33 phone. When I attempt to build ...
Afi Toetuu's user avatar
1 vote
1 answer
364 views

Android Things Audio I2S not available

I'm trying to play sound through I2S with Android Things, but keep getting E/audio_hw_hikey: cannot open pcm_out driver: cannot open device '/dev/snd/pcmC1D0p': No such file or directory 48000 2 0 ...
youSeeMe's user avatar
1 vote
0 answers
50 views

Android Things project status: where to get information?

I am designing a product around a NXP Pico i.MX7D SOM, which is officially supported by Android Things. I need to be able to use Google services and would like to use a pre-certified solution to cut ...
Nicolas Torneri's user avatar
1 vote
1 answer
420 views

MPPT 751 15 connect via VE.Direct to Raspberry Pi 3 (Android of Things) but data is unreadable

In the buffer i got values that can´t convert to text or hex, [98 63 65 -128 3 0 -94 ....] Somebody knows some Java/Android reading example or results converter to text? Thanks in advance. while ((...
Dario's user avatar
  • 123
0 votes
0 answers
111 views

Why is GPIO still in use after closing it?

I have an issue with GPIO after the closing of it. The first step I closed the GPIO by calling of the method close() and after that, I tried to open it again, but PeripheralManager throws exception ...
Eugene's user avatar
  • 5
0 votes
0 answers
355 views

hasSystemFeature(PackageManager.FEATURE_CAMERA) return false on Android things?

On Android things that is running on Raspberry-Pi I tried to check if the camera available.. And it return false. I use a camera device with a usb plug.(Camera has a usb port that can connect to the ...
O.Chounry's user avatar
  • 304

1
2 3 4 5
13