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 !
Related
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.
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.
I have a 42 inch multi-touch monitor with IR Input. I want to develop applications for multi-touch input and I have planned to go with android. Is there any way to get touch input? when we go with WPF, have to depend on a PC. Im really confused how to go through!! please help me out.Is standalone monitor possible in ANDROID?
Generally it appears that the only option to get Android (at least under ICS) to include touch screen HID drivers is to recompile Android from source.
Here are some instructions for exactly the purpose you describe (they also require the PandaBoard single-board computer as an intermediary).
There's a guy on xda-developers who's trying to do this using the Android USB Host functionality and MHL only on a Samsung Galaxy S3, but there's no confirmation one way or the other that he ever got that working.
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.
I've very interested in a new project, but it requires the user be able to access the phone's display via a wireless trackpad and screen. I'm thinking bluetooth is the best way to go. I can find a few resources regarding the bluetooth classes, but I can't find any resources for mirroring the phone's display or manipulating the ui with a trackball using blue tooth.
Are these two things possible? Could someone give me some information or point me towards some resources?
So you want to remotely control your Android Device with a Trackpad using Bluetooth for the connection? Do you need this for the whole Android System or just for your App?
If just for your App, their should be a way of doing this since communication between two Bluetooth-Devices runs over Sockets (like Client-Server communication). See the Androids Bluetooth API. But I'm also not sure how you plan to make the Android Device understand the Bluetooth-Commands which the Trackpad is sending to it (if you can even get both of them to connect to each other).
If you need it for the whole System, I'm not sure if this is possible (without rooting the phone and maybe writing some drivers for it), as I don't know any way of emulating a touch/click on the screen (which is basically what you want).
Although I know that there are some experiments running to connect a Bluetooth-Keyboard with an Android Device. But their is nothing official yet and nothing to look into (like SourceCode) as far as I can tell.
But maybe I'm looking at this a lot too complicated...