Controlling Android app emulator with Mac's keyboard? - android

I'm trying to overcome a challenge of controlling my soundbar volume from my Mac. No volume sync alternatives are available, I tried them all so all the hope lays within this idea:
My soundbar volume can be controlled from an android/iOS app connected to the soundbar over wifi.
My plan is to have a android app simulator running and somehow bind volume keys to control the volume slider in the app. It sounds difficult so before I start trying I wanted to ask whether those things are at all possible:
Connecting the soundbar using app running on the android simulator via Wifi
Binding volume keys on my Mac to control the touch input of the android app emulator
If you have other ideas like using an actual phone and controlling its touch input I'm open to suggestion as I have some android phones laying around

Related

Self controlled android?

Can android be self-controlled. I know you can control it with ADB.
Do the apps like "3cx droid desktop" or "remote web desktop full" use this feature to control it?
I want to control my android phone over the internet and i don't have a public IP address, so I tried those two apps and their "bridge mode", which probably transfers data through their server, but just the remote control feature (alongside with camera, which works) cannot be running in the bridge mode.
So is there any way you can control a phone with commands from e.g. Twitter? It would simulate the touch itself? (actually the only thing I want is what I mean by remote control - to simulate the touches, only x,y coordinates). I know python basics. So far no java.

How to control custom Android app via Bluetooth custom device

I'm building a Bluetooth device and would like to make it so that once it's paired with an Android device such as a phone or tablet (eg. Nexus 7) it will be able to interact with a custom app on the Android device in a transparent manner without any prior setup.
For example, the behavior I'm looking for is similar to that of a handsfree headset where once you've done the initial pairing you can push a button on your headset, issue a voice command, and it transmits commands to the phone and the phone does it's thing. I have built a Bluetooth device where when a button is pushed it should be able to immmediately send commands to a custom app on my Android device and the custom app should run and do its thing. This should all happen without putting the Android device into some ready state or having my custom app open waiting for commands; it should all be transparent without the user having to do anything (eg. the Android device could be in my pocket or bookbag).
I am a veteran programmer but very new to Android and Bluetooth and would appreciate pointers in the right direction. I imagine that perhaps I would need to install some service-level app on the Android device to implement my own custom profile and/or intercept the Bluetooth commands but these are just guesses; I'm hoping someone would shed light on the actual process so that I can read up on them in detail. I'm also hoping that the solution is a generic one that would apply across the board but right now I'll take anything I can get lol!
Many thanks in advance.

Basics : Sending a signal from an external hardware connected via USB port to android phone to make custom app do stuff

I just need some initial directions as I am new when it comes to electronic hardware and android phone/app interaction. I am comfortable in both domains within their boundaries.
I have a black box electronic circuit. To simplify things lets assume all it does is, send binary 1 or 0 i.e. electric On or Off pulse. I need to connect this circuit to the android phone via USB(either Host/accessory mode) and want my android app to react to this pulse.
If possible - start the app when the phone receives 1/ON signal
OR display an "Switched ON" dialog message while the app is running in background as a service
Please dont worry too much about the electronics part. I'm aware that this is a software/programming forum.
e.g. black box : a electronic thermometer that sends a pulse/1/On signal if the temperature goes to 100 degrees Centigrade OR anything similar that's on a simple circuit board(no processor or programming language/architecture dependent) and could trigger a signal that could be sent to the android phone to inform my app that the event occurred.
another even simpler example, an earphone that has a connect/disconnect call button connected to audio jack of the android phone. i just need to replicate this functionality. instead or ear phone, my electronic BB and instead of phone call program, a custom android app.
Links, DIY projects, Tuts anything will be really helpful
This is a big open question. I'm guessing what you are asking for is a "real-world <=> Android" USB interface. This requires some hardware and some software. You may want to have a look here:
http://www.yoctopuce.com/EN/products/usb-sensors/yocto-knob
http://www.yoctopuce.com/EN/article/sample-applications-for-android
You may also want to have a look at the competition
www.phidgets.com
Be aware that making a USB device working with an Android device is not as straight forward as it sounds: you will need a Android device able to work in host mode, the Android image used in the device must support USB devices and you may have a power problem if the device is supposed to be powered from the USB port you are planning to use.
The experience shows that the cheapest an Android device is, the more unlikely it will work with exotic USB devices.

Connecting a remote touchpad to an Android system

I am thinking of connecting a remote touchpad to an android system (via infrared, bluetooth ...), for example for tablets or phones. But I don't know if it is possible to edit Android system in order to do that, or if there are already systems using the concept. I have seen articles talking about using android screen as a touchpad, but what I want to do is the opposite : using a touchpad to move a mouse cursor in an android system.
Thank you for your time !

How to implement mouse pointer and it's operations on android programatically

I am trying to implement a remote controller software. It is based on the idea that a smartphone, which runs android operating system on it, can remotely control a smartbox over WiFi. Problem here is, smartbox, which is connected to the Tv also runs android on it.
I am now working on mouse implementation for the both client-side (phone) and server-side (smartbox). Any coordinate changings on the touch screen of the phone will be transmitted to smartbox via UDP protocol over WiFi and smartbox will process the relevant coordinate changings on it. Problem is, I do not know how to show mouse pointer on android that runs in smartbox and how to manipulate setting/moving mouse cursor. I search this issue a lot on the internet but all the resources are based on android-to-Pc, there is no even one android-to-android remote controlling project like this.
As I mentioned before, if you give me any idea about how to implement and operate mouse pointer on android 2.2 (froyo) operating system programatically, I will appreciate it.
Thanks.
I suppose there is no Android-to-Android remote controlling because Android does not support mouse pointers natively.

Categories

Resources