Questions tagged [android]

For questions pertaining to Android, the Linux-based touch-enabled operating system designed for mobile devices.

Filter by
Sorted by
Tagged with
1 vote
2 answers
44 views

How do I control a fan attached to GPIO pins on Android?

I installed android tv with konstakang on my Raspberry pi 4 device. While using linux with GPIO pins, I made fan control with python according to temperature. How can I use GPIO fans on Android?
user avatar
  • 111
0 votes
0 answers
23 views

Is an "android-phone-connected-to-Raspberry-Pi" hotspot better than just an "android-phone" hotspot

I need mobile WiFi for a flat I'm living in for a couple months. I am currently using my android phone (Pixel 4a) as a mobile hotspot. I have discovered (here) that (with some work) I can plug my ...
user avatar
  • 101
0 votes
2 answers
115 views

How to run a python script on raspberry pi from an android application?

I am currently working on a project where I have to develop a Camera Security system and an android application. The camera system provides live streaming videos and also has the ability to detect ...
user avatar
0 votes
1 answer
36 views

/dev/i2c is not showing Raspberry Pi4 running on Android

I am using AOSP android 11 in the RPi4. I have enabled the i2c in config.txt using the param dtparam=i2c_arm=on. The i2c is showing in the /sys/bus/i2c/devices/i2c-1 but /dev/i2c is not listing in the ...
user avatar
0 votes
0 answers
26 views

How to save the bluetooth connection type between Raspberry Pi and Android Phone?

I have a Raspberry Pi with bluetooth installed, I'm able to connect to my Android's phone via bluetooth, but it's getting connected as a headset. However, when I go to bluetooth manager on Raspberry ...
user avatar
  • 1
0 votes
0 answers
20 views

Sending set-top box bluetooth commands

I am trying to create an automation scenario, where i use a raspberry pi 4 as a remote controller to send bluetooth commands to an Android set-top box, what's the best way to actually make this work? ...
user avatar
0 votes
0 answers
33 views

How to Connect my android app with Raspberry pi 3

I am making smart door lock system using raspberry pi 3 the door will open through android app I have confusion about how can i make connection of my android app with raspberry pi using WIFI.
user avatar
0 votes
0 answers
23 views

Access Phone Hardware via Raspberry pi

I want to access my Android Phone's Speaker, microphone, and camera via Raspberry pi. Here are the Functions I want to perform : 1. Play specific audio based on the Raspberry pi command. 2. Capture ...
user avatar
0 votes
0 answers
68 views

Serial communication over uart - Android raspberry pi 4

Is there a library/source code available for serial communication over uart for the raspberry pi 4 running Android?
user avatar
  • 101
0 votes
0 answers
169 views

Wifi access point "Authentication problem" "password may be incorrect"

I just mixed these 3 tutorials (first that one : https://thepi.io/how-to-use-your-raspberry-pi-as-a-wireless-access-point/ , then these to fix problems : https://learn.pi-supply.com/make/how-to-setup-...
user avatar
0 votes
0 answers
45 views

Can we run SPI screen on Android? (Rock/Raspberry Pi project)

Can we run SPI screen on Android? https://www.waveshare.com/wiki/Pico-OLED-2.23 We don't need an Android environment and just a few message lines. Our project is with Rock/Raspberry Pi.
user avatar
0 votes
0 answers
69 views

"android.os.ServiceSpecificException: I/O error (code 5)" when starting an Android Things app on Raspberry Pi 3 connected to TSL2591

I connected my TSL2591: VIN to 3v, GND to GND, SCL to SCL, SDA to SDA. This is the logcat: 08/21 09:24:45: Launching 'app' on Google iot_rpi3. App restart successful without requiring a re-install. $ ...
user avatar
0 votes
0 answers
78 views

Connect Raspberry Pi from Android App through USB

I'm building an android app where there's a requirement to show the temperature in the app from the sensor in Raspberry Pi Controller. For this purpose, I'm trying to connect my android device to ...
user avatar
  • 101
0 votes
0 answers
75 views

Cast raspberry pi screen to Android?

I am looking for a way to use my (very) old tablet as a monitor for my raspberry pi 4 that's running Linux (I am willing to change to Raspbian if needed). The tablet runs on Android 4.4.2 (I have ...
user avatar
1 vote
1 answer
117 views

Is t possible/feasible to use android's NDK toolchain to cross-compile for Pi?

That's it, really. I have an x86_64 host that already cross-compiles a C application for android's 4 supported architectures, could I use the existing toolchain to build armeabi-v7a for a Pi (running ...
user avatar
  • 151
0 votes
0 answers
77 views

recipe for target 'broadcom/bcm2711-rpi-4-b.dtb' failed

I am trying to build an Android Automotive OS for Rpi 4b image following this post by Snapp Automotive When I try to build the RPi kernel, running ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- DTC_FLAGS=...
user avatar
0 votes
1 answer
255 views

Communication between Raspberry pi and Android studio Application

I've created a mobile application using android studio to control some leds, sensors, and locks. So I'd want to connect my mobile application to my raspberry pi to send and receive data, how could I ...
user avatar
  • 1
1 vote
0 answers
321 views

Run LineageOS on raspberri Pi4 without HDMI connected

I installed Lineage OS 18.1 (a based on Android 11 operating system) on my raspberry pi4. When connected to a monitor via HDMI, it boots normally. After booting normally, disconnecting the HDMI ...
user avatar
  • 11
0 votes
0 answers
84 views

Raspberry pi4 + Lineage OS + bluetooth headset Dont work

hello im having some problem to use a headset bluetooth on a raspberry. in you tube i can hear the sound perfectly but in Linphone ( a softphone app or any other softphone ) i can hear and talk ...
user avatar
0 votes
1 answer
647 views

USB debugging on raspberry pi 4(8 GB RAM model) running with lineage OS 18.1(Android 11)

I am currently working with lineage os 18.1 running on a raspberry pi 4(8GB RAM model) board. I need to look into the logs of the lineage os running on the Rpi board. For that, I need to work with ADB(...
user avatar
0 votes
1 answer
893 views

How to control raspberry pi 4 GPIO pins by running android application in the rpi and in mobile?

I am trying to build a project based on IoT. My goal is to trigger relays connected to GPIO pins in rpi4 by using an android application running in rpi4 itself which can be accessed with an official ...
user avatar
1 vote
1 answer
265 views

Dual or Triple Boot Possible?

I'm wondering if it's possible to dual boot Raspbian, LineageOS, and RetroPie on an SD card? I've looked around and it seems like there is an issue with it not going straight into a bootloader like ...
user avatar
  • 11
1 vote
2 answers
402 views

Can i connect using WiFi Direct to use smartphone as monitor. No internet access!

I would like to know how to connect my RPi 3 model B+ to my Samsung Galaxy s10e (sm-g970u) using WiFi Direct to use my smartphone as the display screen as i have NO internet access at my home and i ...
user avatar
0 votes
1 answer
523 views

how can i get real time data from the raspberry pi sensor to my android app?

how can I display real-time data from the raspberry pi heat sensor into my android app made with the android studio (not an android app build on a raspberry pi ) every time the sensor measures a ...
user avatar
  • 3
1 vote
0 answers
52 views

Connecting a phone to a Pi 3A+ using Bluetooth fails

I want to connect my phone using BLE to a Pi 3A+. For testing I have set up a Bluetooth server using this code. I have tried connecting with nRF Connect on both a Motorola Moto e5 (Android 8.0) and a ...
user avatar
0 votes
0 answers
48 views

Raspberry Pi based always-online harddisk from which I can stream a "remote" android app to my smartphone

I use a popular app called readera to read and manage ebooks on my android smartphone. I want to have all the ebooks on a 2TB portable harddisk that remains connected to a raspberry Pi at all times. ...
user avatar
0 votes
2 answers
748 views

How to connect an Android phone and a raspberry pi through wifi direct programmatically

so I have been working on the task of connecting a pi to an android via wifi direct for a while, and I was able to get it to work, using the information given in this question: Issue connecting ...
user avatar
  • 19
0 votes
1 answer
345 views

USB Ethernet / RNDIS is working over my desktop computer but not from my android phone

After following some guides, I was able to get a USB SSH connection working from my Windows 10 computer into my Raspberry Pi 4. It won't work on my phone though, even though my phone is capable of ...
user avatar
-2 votes
1 answer
538 views

Playing pokemon go on rpi 4

I looked around on the internet but all I found were rpi pokemon detectors. I tried using LineageOS (following this tutorial), but it said device not supported, probably because of the root required ...
user avatar
2 votes
2 answers
746 views

Cannot connect to localhost on RPi from my phone through access point

I am running Node.js in a localhost on my Raspberry Pi 4. I would like to access the localhost in the browser of my phone. I have set up a stand alone access point on my Raspberry Pi and connected my ...
user avatar
0 votes
1 answer
1k views

Wireless communication between a RPI and a Android app - without internet

I got a RPI4 and I would like to communicate to it from my Android Studio made app. Specifically I would like to start a javascript with node.js on the RPI. So the RPI should be sort of an headless ...
user avatar
0 votes
2 answers
62 views

Sharing a headless Raspberry's IP to an Android host

I am doing a project where a Raspberry pi zero collects some data from a sensor and displays it through a self hosted web server. Now,the usual way you access a webpage in a raspberry is to just type ...
user avatar
  • 115
0 votes
0 answers
93 views

Using Android Phone as Webcam via USB to use Zoom or Google Meet [duplicate]

People have been asking for help to be able to purchase a tablet or a computer that they can use for online classes. Most people here in the Philippines don't have the means to buy any of it. However, ...
user avatar
2 votes
2 answers
3k views

How to build an Android app on Raspberry pi?

As you may know, the Android development system is available for the Raspberry Pi from the Debian project here: https://packages.debian.org/buster/android-sdk However, they do not include Android ...
user avatar
  • 299
1 vote
1 answer
351 views

Issue connecting raspberry pi to android via Wifi p2p

I'm working on connecting a Raspberry Pi Zero W to an android device and having some issues. I think I am very close to getting it to work, but perhaps there is some small error. So I followed the ...
user avatar
  • 19
1 vote
0 answers
67 views

How can I make Raspberry Pi's Bluetooth discoverable to iPhone or iOS? [duplicate]

I've got a Raspberry Pi 4B, when I use an Android phone to connect to the Pi with Bluetooth, it works normally, both pairing and connection. But when I use an iPhone to do the same thing, the phone ...
user avatar
  • 21
0 votes
1 answer
647 views

Trouble Connecting Raspberry Pi 4 to Android Phone Via Bluetooth

I've been trying to connect my Raspberry Pi 4 to an Android phone via Bluetooth by following these tutorials first tutorial, needs translation, second tutorial, and last tutorial. Since I currently ...
user avatar
2 votes
0 answers
74 views

Raspberry Pi Jsch Diconnect Handler

I am using Android Studio "Jsch" package to connect my Android Device to my Raspberry Pi via SSH. The Event "on press" sends a command,which executes a Python file on my Raspberry Pi. This File turns ...
user avatar
1 vote
1 answer
66 views

Creating an app to connect to Android

What I want to do: I am working on a project, where I need an Android smartphone to connect with my Raspberry Pi 3b+. after connection, I need to control some GPIOs of the pi with my phone, and input ...
user avatar
2 votes
1 answer
725 views

SMS Gateway project using ZTE MF920V 4G MiFi modem

For a personal project, I'd like to use an MF920V modem. It's a mobile 4G modem made by ZTE. (Not to be confused with USB dongles). The idea is to code an api with Python or Nodejs to remote control ...
user avatar
  • 123
0 votes
0 answers
254 views

How can I control a Raspberry Pi over Bluetooth with an Android Smartphone?

I am looking for ways fo control a RPI with Kali Linux over Bluetooth. I would like to be able to turn on the RPI and connect to it via Bluetooth without using a screen, a keyboard and a mouse. I ...
user avatar
1 vote
0 answers
73 views

Can we control a RPI with an Android smartphone wirelessly and without Wi-Fi?

I got a RPI4 and I would like to use it outside, where there is not always an avaiable Wi-Fi connection . I would like to create a sort of an headless machine and control it with a smartphone, without ...
user avatar
4 votes
2 answers
3k views

Android won't connect to RasPi access point

I have managed to turn my Raspberry Pi into an access point following these instructions: Access point as WiFi router/repeater with additional WiFi-dongle However, everything connects to the access ...
user avatar
1 vote
2 answers
939 views

Have DHCP set Default Gateway, while keeping a Static IP?

Is there a way to set a static IP, without stopping breaking DHCP default gateway/route setting? I normally use dhcpcd.conf to set static IP's, but any static IP configuration on the interface will ...
user avatar
  • 151
1 vote
0 answers
131 views

Connect to wifi using custom iPhone/Android app without SSH [closed]

I'm new to this and would like to ask a question. Is it possible to connect raspberry pi zero w to wifi like this: https://youtu.be/9yTg-iWPy28?t=84 or https://youtu.be/2l3NBCWbjwk?t=15 I want to ...
user avatar
  • 111
3 votes
0 answers
3k views

Android Studio on RPi4

So with the release of the 4GB version of Raspberry Pi 4 I started wondering whether installing and running Android Studio on it will be possible. Previous Pi versions were lacking in terms of RAM ...
user avatar
0 votes
1 answer
98 views

What are the technical reasons that there are no official Android builds (targeting users) for Raspberry?

There are a few one-man-project and unofficial builds of Android for Raspberry. But there are no official builds from known projects (example LineageOS). Are there technical reasons for that? I was ...
user avatar
  • 328
1 vote
0 answers
55 views

Android phone as display (through USB Cable)

I understand that VNC has been used to enable viewing on an Android display, which requires a network. I would like to be able to use the display (and ideally other Android resources) through a USB ...
user avatar
  • 637
0 votes
0 answers
174 views

Can't find my android phone via bluetoothctl scan on

I am currently working on a project that fetches the RSSI of my Samsung Galaxy S8 phone via bluetooth on a Raspberry Pi Zero W. I am running Raspbian and have successfully found other devices via ...
user avatar
4 votes
2 answers
1k views

How to make/develop Android apps and use them with RPi4?

I am using Raspberry Pi 4 for a while with the latest buster release. I searched for a lot of questions and find that Android development is not possible with Raspberry Pi. But I wonder, that both are ...
user avatar
  • 1,652

1
2 3 4 5 6