You could do that, using android's USB tethering. On android 4 this option should be at settings>more>Tethering and portable hotspot>USB tethering (option becomes enabled when you plug the USB to the PI).
Then you need to set up your PI for this:
1) add the following to /etc/network/interfaces:
iface eth0 inet dhcp
iface usb0 inet dchp
Eben recently posted on the Foundation's website announcing that Android 4.0 (Ice Cream Sandwich) is coming to Raspberry Pi!
Eben described the status as
Hardware-accelerated graphics and video have been up and running smoothly for some time; AudioFlinger support is the only major missing piece at the moment... This implementation ...
As answered by Tibor, a port is obviously possible. Other than a decent Java framework, I believe there are quite a few lightweight (yet useful) Android apps that can lend enough motivation for people to attempt to port Android over to Pi. Who knows, Google might already be working on porting it, or at least supporting someone who's interested in doing that. ...
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 home, the other for the
Enable the hotspot on your android device and
switch on your Pi (plug the USB power cable in)
Connect your Mac
to the ...
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 is ARM based, like most mobile devices.
While it is not explicit on the download page, the fact that Android Studio is distributed in binary form with only two ...
For video streaming, both the pi and Android can make use of DLNA via various client/server applications (on raspbian, see rygel or minidlna), although I'm not sure if those can be made to suit your purposes.
For just logging onto the pi, there are SSH clients for Android -- "Juice SSH" is good.
Those of you looking to play with Android on Pi in advance of our source code release might want to check out the community http://www.razdroid.net/ Dead-link! project, which last month produced its first non-accelerated port of Gingerbread on top of the publicly released VideoCore binary.
Yes it is possible and there is already someone (called ...
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 into a very small space.
The image below is a picture of a Nexus 4 motherboard. The camera is the black thing in the bottom left corner. With the proper ...
You can try using this app. It sends data from the sensors in UDP.
It would only give you the information from the Accelerometer from the list you wanted.
3 - Accelerometer (m/s^2)
4 - Gyroscope (rad/s)
5 - Magnetometer (micro-Tesla uT)
Example UDP packet:
890.71558, 3, 0.076, 9.809, 0.565, 4, -0.559, 0.032, -0.134, 5, -21.660,-36.960,-28.140
Check out the community driven Razdroid project that is however - as of today - far from being able to provide a finished version of Android for the RPi. It is stated that they mainly suffer from a proper port of hardware acceleration drivers for the Broadcom SoC used on the RPi. So - again as of today - depending on your usage the RPi might not be the best ...
There has been no change with the Pi2. There is not a usable version of Android for the Raspberry Pi.
In my opinion there is unlikely to ever be a usable version based on the Broadcom 2380/2390 SOC.
For a perhaps contrary view visit https://groups.google.com/forum/#!forum/android-rpi which is dedicated to Android on the Raspberry Pi.
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 xtightvncviewer) to connect to your Android VNC server and take control of your Android desktop. This does require you to have access to the RPi - so it doesn't ...
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 functionality (GPIO), so will defeat the purpose; drivers required to handle your phone will not be preconfigured, finally, the boot process on a phone is ...
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.29. Other adb binaries I found did not work because they were build for other CPU platforms (i.e. not ARM).
So lets compile adb on the Raspberry Pi itself - ...
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.openGpio("BCM6");
// turn on.
// turn off.
Make sure to check the ...
No, these Android versions are not stable builds. The developers themselves say that they are "barely useable", but several dev builds are available now. Check out: http://androidpi.wikia.com/wiki/Android_Pi_Wiki.
Due to the stability issues, I seriously doubt that you will be able to run Google Now on it. As you sound very interested by the idea, I have ...
I've had some success networking between the Pi and a phone using a wifi dongle supporting adhoc. Essentially, you set up the Pi as an access point using hostapd and run a DHCP server on the Pi to give an IP address.
I've just posted the details on my blog at www.recantha.co.uk/blog.
Didn't really want to paste it all in here because I'm not sure how to get ...
At the moment there is no supported compilation available of Android SDK for ARM.
It maybe possible to do this, but this has to be done by someone with knowledge of Android build system.
Again clarification: I'm not talking about installing Android itself on the Pi. I'm talking to install the SDK on Raspbian to build Android application like in the ...
Miracast (what the cast setting on a Nexus enables) is tricky because it's a direct device to device Wi-Fi protocol. There appears to be a project called OpenWFD that's working on Linux support but it's not ready yet. You'd probably have better luck using something like VNC, which works reasonably well on the RaspberryPi already.
You can write all of the code you want on your Raspberry Pi with vim and the like. However, as far as testing it, debugging it, and running emulators for Android projects, I'd say no. There's just not enough memory or processor power. At best, you could get the code off of the RPi, take it to another machine with the development tools, and run it there.
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.
I gave it up by now and see myself forced to build on another machine.
So people,not best answer though but this could help for those who have problem with me.
Try use gnublin API.Haven't do a deep research yet but seems considerable (it's also compactible with Python)
but for those who still want to give me reccomendation,i'll wating for it.
Long story short, smartphones and other devices have an internal memory different from SD cards. The technology is supposed to be failure proof. The SD card in another hand is built to be cheap.
If your Android is using the micro SD while you remove the battery, it might corrupt the card as well. Also, the firmware of your phone is stored in a read-only ...
Raspbian is a known entity, and you will have no trouble finding existing tutorials and sample code for ultrasonic sensors and buttons or almost anything else you could want. This will make completing your project much easier. The same cannot be said for android on the Pi. As evidence of this the official download page for the Pi does not even list Android, ...
I want to bring up Mopidy as such a tool as I found it easy to set up und it's running well on the Pi.
With extensions it allows you to stream from cloud services (if the Pi would be online) such as Spotify as well as local files. It can be controlled by a multitude of clients (local or remote; command line, graphical, web based, android apps). Packages ...
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 unpacking using p7zip -d <file.7z> and copying the binary file mypart/out/host/linux-armv6l/bin/adb to /usr/bin it seems to be working fine on a RPi.
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 device seems to be the same as the one here http://www.waveshare.com/wiki/3.5inch_RPi_LCD_(A) so those instructions work too
Raspberry Pi 3 (the latest ...