Hot answers tagged

7 votes

SSH to RPI using android hotspot and PC

At least with the Raspberry Pi 3 (didn't try with a 2 and a WiFi dongle) and a Mac is easy: Configure your Raspberry Pi to connect your hotspot (I have two different WLAN blocks, one for the WiFi at ...
tnarik's user avatar
  • 71
7 votes
Accepted

installing Android Studio

First, address size (such as 32 or 64 bit) is not the only defining characteristic of processor architecture. Commonplace desktops and laptops are x86(-64) based. The Raspberry Pi's SoC is not. It ...
goldilocks's user avatar
  • 58.5k
6 votes
Accepted

Anyone know if there's a way to re-purpose Nexus 4 parts to use with Raspberry Pi?

It's rather unlikely that you'll be able to salvage any parts of a smartphone. While incredibly common, smartphones are an incredible feat of engineering. There are many, many components all packed ...
Jacobm001's user avatar
  • 11.9k
5 votes

How do I install the Android Debug Bridge (ADB) on a Raspberry Pi?

I ran accross this problem 1-2 years ago and after a long search I ended up compiling adb myself. Also, because the available adb binaries are outdated. I needed adb v1.0.32 and I could find only v1.0....
Eugen's user avatar
  • 488
5 votes
Accepted

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

You can setup an access point on the RasPi so the smartphone can connect to it. There are hundreds of tutorials about this on the web, but many of them are outdated. The official Raspberry Pi web site ...
Ingo's user avatar
  • 41.9k
4 votes

Raspberry PI 2 as screen mirroring adapter

You can install any VNC server app on your Android, such as VMLite VNC Server. On the RPi you can use a VNC viewer, such as SSVNC (sudo apt-get install ssvnc) or xtightvncviewer (sudo apt-get install ...
Phil B.'s user avatar
  • 5,033
4 votes

How do I install the Android Debug Bridge (ADB) on a Raspberry Pi?

This worked for me on Raspbian-Buster: sudo apt-get update sudo apt-get install adb
Tahlor's user avatar
  • 173
4 votes
Accepted

How do I access the Pi's GPIO using Google's Project Brillo/Android Things?

You can access the GPIO pins using the new Peripheral I/O API. Example for turning BCM6 pin to HIGH: PeripheralManagerService pioService = new PeripheralManagerService(); Gpio pin = pioService....
proppy's user avatar
  • 156
4 votes

Android Things: How many PWM pins on Pi 3 Model B?

All Pi models have identical GPIO, even though the pinout varies between models. PWM can be assigned to different pins, but there are still only 2 channels. See http://www.panu.it/raspberry/ for ...
Milliways's user avatar
  • 58.7k
4 votes

Working display setting for Android Things on Raspberry Pi 3 with 3.5 inch Waveshare?

I got touch input working for my Waveshare touch input display running on Android Things. There is a demonstration on Youtube. I also go it working on a KeDei 3.5" touch input display. They both use ...
dirkvranckaert's user avatar
4 votes

Can I set up a Raspberry Pi SD card in a phone?

Use Pi card imager found on the android play store. More info here: https://www.raspberrypi.org/forums/viewtopic.php?t=170856
Douglas Moreen's user avatar
4 votes

Custom screen resolution for Android on Raspberry Pi 3

I found a functional solution, albeit imperfect, for when I want to use vc4-kms-v3d mode, but also have a usable VNC resolution. You can of course change the resolution using xrandr, but you first ...
Leon Shaner's user avatar
4 votes

Raspberry Pi's local hostname doesn't work on Android phones

You're out of luck. Android doesn't have any support for Bonjour (aka mDNS, aka zeroconf networking). You'll need to discover your Raspberry Pi's IP address (192.168.xxx.xxx) and use that. It's ...
Dougie's user avatar
  • 5,271
4 votes
Accepted

SMS Gateway project using ZTE MF920V 4G MiFi modem

If the content of the message comprises only characters 0-9 A-F then the message is in all likeliness encoded in hexadecimal. If you copy and paste the message payload into a utility that translate ...
gatorback's user avatar
  • 637
3 votes

How do I install the Android Debug Bridge (ADB) on a Raspberry Pi?

This thread from the XDA Forums ("ADB for Raspberry Pi") might be helpful; a user there managed to compile ADB and produced a binary for it. The binary itself can be downloaded from this page. After ...
Michal Mig Novotny's user avatar
3 votes
Accepted

Fire OS on RPI?

That's not going to happen. Amazon's FireOS is based on Android, but is a closed, proprietary system. Since there isn't even a usable version of Android, FireOS is extremely unlikely to ever become ...
Jacobm001's user avatar
  • 11.9k
3 votes

Can I use my old smartphone like raspberry pi by installing raspberry pi OS to it

The Raspberry PI family run on BCM2835 ARM6 512kB or BCM2836 ARM7 1.0GB peripheral controller. Installing Raspbian on any other processor, will operate just like any other Linux, without the rPI ...
fcm's user avatar
  • 1,839
3 votes

Compile Android application with gradle

There is no ARM version of the tools provided by Google. A few people started working on the build tools though, but not the platform tools. https://github.com/skyleecm/android-build-tools-for-arm ...
Ostkontentitan's user avatar
3 votes

Android screen cast/mirroring to Raspberry Pi?

The MiracleCast project can turn a Raspberry Pi into a Miracast reciever or transmitter. See here for a success story on a Raspberry Pi. https://www.github.com/albfan/miraclecast
flakeshake's user avatar
  • 6,215
3 votes

Android operating system with touchscreen?

[disclaimer] While not on Android OS, I'd like to share my experience on getting it running a minimal debian/raspbian based Linux distro - Minibian https://minibianpi.wordpress.com/download/. This ...
Shreyas Murali's user avatar
3 votes

Raspberry Pi bootable Android

You'll need to install disk tools on your Android device. The most popular toolkit for this purpose is Busybox. Keep in mind that low-level filesystem access that you need to flash an SD card ...
Dmitry Grigoryev's user avatar
3 votes

Siri-like service on Raspberry Pi 3

Amazon's Alexa can be built on the Raspberry Pi. It uses Alexa Voice Service (AVS). Raspberry Pi put out an article called "Amazon Echo - The Homebrew Version" with a video guide describing the ...
earthmeLon's user avatar
  • 1,394
3 votes
Accepted

Android Things: How many PWM pins on Pi 3 Model B?

I suggest you put a hat on top of your raspberry pi. They communicate via I2C and multiply your PWM pins and you can stack them, there are already Java libraries popping out. Yesterday, I ...
Oscar Salguero's user avatar
3 votes

Editing Pi 3 System files on SD outside Linux?

Try booting a live CD on your laptop. That gives you a Linux system that can edit anything on any Raspberry Pi SDCard. You can get a live CD from: https://www.raspberrypi.org/downloads/raspberry-pi-...
Dougie's user avatar
  • 5,271
3 votes
Accepted

Wifi direct connection disconnects automatically after a few seconds in Raspberry pi

I have observed this behavior when one device does not get an ip address. Then the connection is shut down after some seconds. You have to ensure that there is a DHCP server running that will give the ...
Ingo's user avatar
  • 41.9k
3 votes
Accepted

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

Find your Raspberry pi ip address for the access point. Pass it in instead of localhost.
Masilila's user avatar
  • 146
3 votes

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

I would like to access the localhost in the browser of my phone No, you don't. Although it is theoretically possible, it is most certainly not what you want. What you want is to access your node.js ...
Ljm Dullaart's user avatar
  • 2,451
2 votes

Using python with bluetooth to communicate

Possibly you don't have /dev/rfcomm1. I suggest to use python-bluetooth library. Check this: example usage
Mert Gülsoy's user avatar
2 votes
Accepted

Can I use my old smartphone like raspberry pi by installing raspberry pi OS to it

It's really not going to work, but you could use the screen to display a pi desktop over vnc or rdp There are a few ways to leverage your phone.. if you just want Python there is probably an app for ...
Bill K's user avatar
  • 281
2 votes

Android on Raspberry Pi 2

There are versions available for download, some of which require Linux to flash. However there are no fully stable versions available. For a quick and easy Android 4.4 Kitkat installation, you can ...
Praveen K's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible