Hi,
How can I run an Android app on Linux (Raspbian) without installing the Android operating system?
I'm looking for a kind of emulator that allows me to run Android apps on Raspbian.
-
- Posts: 18
- Joined: Sat Jul 13, 2019 3:21 pm
Android app on Raspbian
ElectronicMusicWebradio -- The best of electronic & dance music!
www.WT-Radio.de
www.WT-Radio.de
- mahjongg
- Forum Moderator
- Posts: 14922
- Joined: Sun Mar 11, 2012 12:19 am
- Location: South Holland, The Netherlands
Re: Android app on Raspbian
Wishful thinking, AFAIK such a thing does not exist.
Take the source of the android app, and rewrite it for Debian linux with a graphics library supported by Raspbian (QT), then compile it for the ARM CPU used in the PI.
Take the source of the android app, and rewrite it for Debian linux with a graphics library supported by Raspbian (QT), then compile it for the ARM CPU used in the PI.
-
- Posts: 18
- Joined: Sat Jul 13, 2019 3:21 pm
Re: Android app on Raspbian
A simpler possibility does not exist?
For example, an emulator that allows you to run Android apps?
For example, an emulator that allows you to run Android apps?
ElectronicMusicWebradio -- The best of electronic & dance music!
www.WT-Radio.de
www.WT-Radio.de
- mahjongg
- Forum Moderator
- Posts: 14922
- Joined: Sun Mar 11, 2012 12:19 am
- Location: South Holland, The Netherlands
Re: Android app on Raspbian
not that I know. Its not as simple as you seem to think...Rootinator wrote: ↑Thu Nov 14, 2019 12:32 pmA simpler possibility does not exist?
For example, an emulator that allows you to run Android apps?
Re: Android app on Raspbian
What Andriod app are you wanting to use? There might be something similar available under Linux.
-
- Posts: 18
- Joined: Sat Jul 13, 2019 3:21 pm
Re: Android app on Raspbian
It is the Android app "dab-z", with which I would like to hear with a DAB+ receiver radio (no RTL-SDR !!!).
ElectronicMusicWebradio -- The best of electronic & dance music!
www.WT-Radio.de
www.WT-Radio.de
Re: Android app on Raspbian
I have just read about https://anbox.io/ in another context. Might be worth a look, it's available as a package on Buster.
But a radio app would probably use the phone hardware. I know that my analog radio app uses the headphone cord for the antenna. I doubt that that is emulated by any emulator.
benny
But a radio app would probably use the phone hardware. I know that my analog radio app uses the headphone cord for the antenna. I doubt that that is emulated by any emulator.
benny
Re: Android app on Raspbian
Most of that would need to be done via hardware, not emulation.cc_benny wrote: ↑Thu Nov 14, 2019 2:49 pmI have just read about https://anbox.io/ in another context. Might be worth a look, it's available as a package on Buster.
But a radio app would probably use the phone hardware. I know that my analog radio app uses the headphone cord for the antenna. I doubt that that is emulated by any emulator.
I believe the WiFi/Bluetooth chip in at least some of the Pis has an FM tuner build in, but it isn't connected to anything, so can't be used.
A USB tuner should work with a small FM antenna and appropriate software (of which I'm sure there is some, but isn't a subject I've investigated).
There is also the possibility of Internet Radio.
Unreadable squiggle
Re: Android app on Raspbian
Might be worth trying it. It installs and runs on a Pi 3B (non-plus) but I ran out of time before figuring out how to make it work, ends with "No session manager" or similar, seg faults if not run from a Terminal from the Desktop. YMMV ...cc_benny wrote: ↑Thu Nov 14, 2019 2:49 pmI have just read about https://anbox.io/ in another context. Might be worth a look, it's available as a package on Buster.
Code: Select all
sudo apt-get install snapd
sudo reboot
Code: Select all
sudo snap install --devmode --edge anbox
snap info anbox
anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity
- manemobiili
- Posts: 4
- Joined: Wed Oct 23, 2019 4:14 pm
Re: Android app on Raspbian
My solution was to get Emteria OS or Konsta's Android images which will work on PI3. I recommend emteria but it's a commercial product, you need to register and use their own disk imager.
I mainly use whatsapp and nintendo switch payload injector on it. Other stuff like uploading instagram photos can be done with a web-browser.
I mainly use whatsapp and nintendo switch payload injector on it. Other stuff like uploading instagram photos can be done with a web-browser.
- manemobiili
- Posts: 4
- Joined: Wed Oct 23, 2019 4:14 pm
Re: Android app on Raspbian
And it's going to be slow enough natively so under linux host it will get worse. But if you need both then wayland could be more suitable.
Re: Android app on Raspbian
DAB+ is a digital broadcasting system, not really related to analog FM Radio at all.
Dab-Z appears to be an android app for listening to such broadcasts received with a USB tuner dongle, so as long as that dongle is supported by the Raspbian kernel (which in all likelihood it is if it works in Android), all you need is an appropriate application installed.
A quick glance in the Raspbian repository shows Gnuradio and kradio4 that both appear to offer this functionality.
I would imagine this is a much more efficient and elegant way to achieve your goal, even if you got Android emulation to work, and somehow got it to talk nicely to the USB dongle, it would be slower and poorly integrated into the rest of the desktop than a native solution.
It's really best to avoid giving the Pi unnecessary work to do.
Dab-Z appears to be an android app for listening to such broadcasts received with a USB tuner dongle, so as long as that dongle is supported by the Raspbian kernel (which in all likelihood it is if it works in Android), all you need is an appropriate application installed.
A quick glance in the Raspbian repository shows Gnuradio and kradio4 that both appear to offer this functionality.
I would imagine this is a much more efficient and elegant way to achieve your goal, even if you got Android emulation to work, and somehow got it to talk nicely to the USB dongle, it would be slower and poorly integrated into the rest of the desktop than a native solution.
It's really best to avoid giving the Pi unnecessary work to do.