Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Make a mobile device a remote control for a tablet?

I'm trying to make an app on an Android device that will control an application on an iPad or Android tablet. (I'm testing with an Samsung Galaxy S2 and an iPad 2).

The application is pretty simple for now. When one selects a colour on the Android mobile, that colour displays on the tablet device.

The question is, how to connect the two devices. Just now I've verified that I can pair the two devices using Bluetooth. Also, the Samsung has a "Kies" Wifi Direct feature (which I don't understand fully), that allows the iPad to connect to the Galaxy as a wifi hotspot.

The connections are there, but I don't know if either protocol can be used to actually get the apps to talk to each other to get the control I'm looking for.

Should I be using Bluetooth, Wifi, or something else?

And in whichever case, how?

like image 742
Questioner Avatar asked Nov 10 '11 12:11

Questioner


People also ask

Can I use my phone as a remote for my tablet?

AnyMote and Unified Remote are two free apps for turning any Android or iOS smartphone or tablet into a universal remote. Get them both from the Google Play or Apple Store.

How can I remotely access my tablet?

To access an Android remotely, you need to download an app called Parallels. This app has features such as AI-based login and quick file retrieval services that allow users to remotely experience the best performance from their android devices.

How can I remotely control my Samsung tablet?

Step 1: Download and install the AirDroid Personal app on Samsung tablet and PC. Step 2: Open the AirDroid Personal application on your Samsung tablet and Log in to your account. Step 3: Go to the “security and remote feature” menu and allow remote control permission.


1 Answers

My opinion is that you should not stick so much around the physical medium used for connectivity either is WiFi or Bluetooth. You should abstract this aspect, in both cases you will be using sockets (I'm speaking about Android), if it's Bluetooth you will be using Bluetooth Sockets, if it's WiFi: TCP sockets. You could have a intermediate layer that abstracts the type of connection and through a factory to use either Bluetooth or TCP.

Bluetooth - http://developer.android.com/guide/topics/wireless/bluetooth.html

For WiFi you should study if P2P would help.

You will need two applications: - one on the tablet - the server which listens for commands from the client (change color, do this or this) - second on the smartphone - the client which sends commands.

like image 63
garzanti Avatar answered Nov 10 '22 02:11

garzanti