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?
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With