MWW1977
Posts: 58
Joined: Thu Feb 19, 2015 3:47 pm

Need help: want my Android device as WIRELESS screen for Pi2

Thu Mar 24, 2016 8:48 pm

Hi you all,

I want to know if it is even possible to have my Android tablet as a wireless screen and virtual keyboard for my Pi 2.
I have found a lot of tutorials (and most of them are a few years old!) on how to connect a Android tablet via a USB cable to a Pi but I want it to be truely wireless.
This one being the most valueble: viewtopic.php?f=41&t=127971&p=929591&hi ... id#p929591
I have bought a nano router from TP-Links. So I always have a network with me.

Can someone give me a link to a tutorial on how to connect my tablet to my pi2 over wifi?

Hope this is possible.
Kind regards,
Mike
The Netherlands

User avatar
MarkHaysHarris777
Posts: 1820
Joined: Mon Mar 23, 2015 7:39 am
Location: Rochester, MN
Contact: Website

Re: Need help: want my Android device as WIRELESS screen for

Thu Mar 24, 2016 8:54 pm

Do some searching on VNC. What you're looking for is a vncviewer on the tablet, and a virtual desktop (vncserver) on the RPI. This is the GUI equivalent to ssh terminal access to the PI; and yes you can run VNC over ssh.

I have not tried this yet... been on my back burner. I use my tablet to talk to my PIs vis ssh from remote. Most of my work is terminal work, so that's great for me. There are many uses for VNC over ssh also... see what you can find out.
marcus
:ugeek:

fruitoftheloom
Posts: 23337
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Need help: want my Android device as WIRELESS screen for

Thu Mar 24, 2016 9:13 pm

MWW1977 wrote:Hi you all,

I want to know if it is even possible to have my Android tablet as a wireless screen and virtual keyboard for my Pi 2.
I have found a lot of tutorials (and most of them are a few years old!) on how to connect a Android tablet via a USB cable to a Pi but I want it to be truely wireless.
This one being the most valueble: viewtopic.php?f=41&t=127971&p=929591&hi ... id#p929591
I have bought a nano router from TP-Links. So I always have a network with me.

Can someone give me a link to a tutorial on how to connect my tablet to my pi2 over wifi?

Hope this is possible.
Kind regards,
Mike
The Netherlands
Is your RPi and Android Tablet on the same network ?

If so you need to install x11vnc in Raspbian Jessie, this is a VNC Server.

There are several Android VNC Client Apps.......
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

MWW1977
Posts: 58
Joined: Thu Feb 19, 2015 3:47 pm

Re: Need help: want my Android device as WIRELESS screen for

Fri Mar 25, 2016 8:50 am

Hi guys,

thanks for your reply....but I'm a bit puzzled now.
The link in my first post also handels vnc. In step 4 he's showing how to install x11vnc on the pi.
But still he uses a USB cable for the data transfer.
That's way I wanted to know if there is a tutorial out there that shows me how to do this wireless.
Sure....first you have to use a normal monitor to setup the pi but after al is done .... I should be able to disconnect and use the wifi for data transfer.
I did found these vids: https://youtu.be/21120acDbuY and https://youtu.be/JmZqu_YxXOE
And they look like they nailed it....but I need to go by these vids frame by frame in order to note what they do.....a written tutorial would be better for me :D

MWW1977
Posts: 58
Joined: Thu Feb 19, 2015 3:47 pm

Re: Need help: want my Android device as WIRELESS screen for

Fri Mar 25, 2016 8:56 am

And Fruitoftheloom,

indeed I'm on the same network. My home network. But I also bought the TP-LINK TL-WR802N 300Mbps nano router for when I'm on vacation or in the car. The reason why I would like to have this all wireles is so my kids can play Minecraft PE on there tablets via the Minecraft PE server on the pi. :mrgreen:
I'd like to have the minecraft PE server in my home network aswel as in my portable network and controle the pi using my 7" Android tablet. In the mobile version the Pi and the TP-LINK are powered by a 5V powerbank like the one I use for my mobile phone.

fruitoftheloom
Posts: 23337
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Need help: want my Android device as WIRELESS screen for

Fri Mar 25, 2016 9:43 am

MWW1977 wrote:And Fruitoftheloom,

indeed I'm on the same network. My home network. But I also bought the TP-LINK TL-WR802N 300Mbps nano router for when I'm on vacation or in the car. The reason why I would like to have this all wireles is so my kids can play Minecraft PE on there tablets via the Minecraft PE server on the pi. :mrgreen:
I'd like to have the minecraft PE server in my home network aswel as in my portable network and controle the pi using my 7" Android tablet. In the mobile version the Pi and the TP-LINK are powered by a 5V powerbank like the one I use for my mobile phone.
In Raspbian Jessie SSH is enabled by default, therefore on your Android Device can you SSH to the RPi with ConnectBot App ?

In Connectbot I use "username@rpiipaddress" and then it will ask for my password, this will ensure you are actually able to communicate between devices via your WiFi Router.


If you can connect next step is to installx11vnc in Raspbian Jessie:

Code: Select all

sudo apt-get update
sudo apt-get install x11vnc
Then from Command Prompt type x11vnc in Jessie...
...on the Android Device install RealVNVC VNC Viewer to test, this will be unsecured without password "rpiipaddress:5900"

If it all works you can then configure password access etcetera etcetera.....
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

Return to “Interfacing (DSI, CSI, I2C, etc.)”