I'm looking into connecting my phone to an external display. I'm not trying to use DeX, but rather mirror my screen to a touchscreen monitor, and accept input from the monitor. I haven't bought any hardware yet, as it looks like most smallish (7 inch) displays are for use with a Raspberry Pi, and when connected to an android, the touch input either doesn't work, or more often than not, appears as a mouse, meaning input from the screen simply moves a cursor around.
If I were to root my device, I could define the input using a custom .idc file, but without root, there's no way to place the .idc file into the system folder, rendering that route useless.
Is there any way to force my phone to use an alternative .idc file? Maybe a piece of hardware between the display and the phone that tells the phone how to handle the input, rather than letting it auto-detect incorrectly?
Related
Hello guys!
Since yesterday my touchscreen doesn't respond any more, obviously because of some kind of "bubble" just below the uppermost screen layer. It looks as if the upper foil had separated from the one below in a small area on the right side of the screen (as if it had soaked in air or liquid).
Now the only way for me to handle the phone is to make inputs via hardware keys.
Before I return it to my cellphone dealer for warranty repair, I want to make a complete backup using tools like SPB Backup or similar ones.
But unfortunately, all those backup tools require the installation of some program parts on the PDA, whose touchscreen isn't usable any more.
Do you have an idea how to get to those two buttons on the lower edge / bottom of the screen saying for example "Install" or "Cancel" just by merely using the flippable keyboard or the hardware keys on the PDA's front side?
Thanks a lot in advance!
Greetings
weyoun07
There's a program(Whose name I forgot, sorry D=) that allows you to control your pocketpc from your pc, via a usb connection.
It's a pc application.
Someone get the name of this for me? I'm not at home right now, so I can't get to my computer Dx
I have one of those Android HDMI TV sticks (A variant of CX-01, to be exact.) running 4.0.4, successfully rooted and hacked up to my liking. There is one thing I would like it to do, which, in my case, is the reason to own it in the first place: I need a very portable presentation device, which I could plug into anything with a HDMI socket and play a presentation. (As a side note, it boots whenever it gets power supplied, so you can use it as a very hidden cheap web server - it's smaller than a Raspberry Pi.)
There is a problem with this usage, however. The device comes with a 2.4 GHz wireless accelerometer-based mouse with a few buttons, which is it's only input device, connected over USB OTG. (Replacing it with something else would be very much not cost-effective) That mouse is only usable because when it is connected, ICS displays a mouse pointer on screen, otherwise, navigation would be way too cumbersome. I have replaced the stock mouse pointer with a smaller one by replacing the png image in framework-res.apk, and it's good enough. Using Hide Bar, I was able to hide the status bar (the wireless mouse has back and home buttons) so I get the full screen for my presentation.
During the presentation itself, I need an input device to move between individual slides and otherwise trigger execution, buttons on the wireless mouse work, or can be reassigned in various ways. However, I need the mouse pointer to invisible during that, as the motion sensitive wireless mouse would make it move constantly while I'm talking with the mouse in my hand.
There is apparently no way to temporarily disable the accelerometer in the mouse itself, while it has a power button that disables it entirely, it turns off everything, including the buttons, and pressing the buttons enables the mouse again.
This means I need a software means to temporarily hide or disable the mouse pointer. (I can obviously permanently hide it by replacing the pointer with a transparent PNG. That would make it very hard to control the device, because the only button it has to trigger a control actually simulates a left click, so it's out.) Extensive googling failed to provide an answer -- most of the time people who get a mouse pointer they don't want seem to eventually give up and pick a HID device which does not produce it instead. As far as I can see, there can only be two ways to do it:
Somehow get the OS to think it has no mouse HID device, or that it's not moving.
Somehow force the mouse pointer to stick to a corner of the screen and keep it there while it's not needed.
Unfortunately I could find no clear sources on either method. I'm not above some hacking and programming to get it done, but I would appreciate an advice on what to look for.
Im curently using a half size bluetooth keyboard paired to my phone (nexus 4) which is running RemoteDroid. That is used to forward keystrokes to my PC. Why? because I have a broken collarbone and cant use my fullsize wired keyboard properly So im using my phone as an intermediate device (BluetoothK/B->Phone->WiFi->PC) to be able to use the bluetooth keyboard. Putting the phone in close proximity to the K/B means It has a much better range and signal quality via WiFi. The phone itself also has a better bluetoooth receiver than any laptop or desktop USB bluetooth receivers ive tried, giving much more reliable keystrokes at higher typing speed than gong straight to PC
The problem is some of the keys dont work correctly and I believe its because Android is interpreting them differently. i.e. 'Tab/Delete/Insert/Home/End/num +/ num -.. etc' dont get forwarded to the PC,And some keystrokes are simply incorrect` i.e. the right shift key acts more like CTRL for some things. Shift+2 becomes " instead of @ (need to press alt 2 instead) and so on
In addition I have a touchpad on the little keyboard and that only works in a limitted fashion
Is there an app out there that can 'grab' the Android inputs of a device and remap them? so i.e. mouse click could be emulated as pressing the Enter key if I so wished
Additionally` is there a progam that can forward these 'raw inputs' to a PC via USB/WiFi/Bluetooth? remotedroid does indeed forward some inputs of key presses as best it can (arrow keys for instance) but it seems to do it 'after' the android OS (i.e. alt+tab makes the android program switch applications, rather than forwarding the 'alt' and 'tab' keys to the PC)
It does not however forward mouse inputs (havnt tried gamepad) so its not possible to use a mouse or trackpad as intended. I have to emulate a screen press (hold left click on trackpad and move the cursor across the remotedroid screen)
Hope the above makes sense, and yes im aware I could simply bluetooth directly to the PC but wheres the fun in that?
Hey all,
I repurposed an old Android 2.3 phone (rooted HTC Wildfire S [marvelc]) as the navigation device for my motorcycle.
My motorcycle has a 4-way handlebar control for the factory navigation (which I don't feel like paying $900 for...)
I'm in the process of debugging the interface of that control on my motorcycle, and eventually I want to interface it to the marvelc via USB.
I was thinking on buying a cheap tablet keyboard and use the wires of that to access the functions that I need (I would need to "scroll" between UI elements, also to "click" on them, and use the "back" button somehow. I don't know if all of these are possible with a physical keyboard or not, but some very old Android devices had controls like this.)
I'm just trying to ask the community, if this option is even feasible?
Also, since I'll need a microcontroller for capturing the input of the 4-way control from the motorcycle, I was thinking on implementing the Android keyboard USB interface on that same microcontroller, but I couldn't find any documentation or protocol description on that. If you could point me in the right direction, I'd greatly appreciate it
Step one: Figure out which keys your nav app responds to.
Does it use arrow keys? volume keys? DPAD?
Use adb and the shell. For example, this sends ESCAPE
Code:
input keyevent 111
You can probably use a gutted keypad and wire up the switches.
It would probably make sense to have it wired for 4 arrow keys and enter.
That way you can test it easily on a desktop system.
If you need keys that are different, edit /system/usr/keylayout/qwerty.kl
Use my UsbMode.apk (in signature) to identify keyevents.
It's designed for something else for the Nook but it will display key events on any Android.
The only problem with gutted keypads is that they use matrix scanning.
If you need/want contacts to ground you'd be better off with a uP.
I like a Teensy 2.0 because it's small and has hardware USB.
This all presumes that your device support USB host mode.
Have been running into these issues on a consistent basis. I'm not sure if they are hardware issues or software issues. Haven't seen them described before.
1. Using the Type Pro 2 keyboard, suddenly and without pressing the CAPS key, I am typing in all caps. Can't even use Shift to change to lower case. CAPS key is not not lit, but that's all that will type. Sometimes I can stop this by removing the keyboard, letting it "rest" a few minutes and plugging it back in. Sometimes I have to completely reboot.
2. Without any warning, selecting one desktop or folder object to open instead selects multiple objects and opens them. Once this starts, I definitely have to reboot to make it stop. Haven't been able to come up with a reason. At first, I thought it might be my HP Bluetooth mouse, but it has also happened with a Microsoft wireless mouse and a Logitech wireless mouse. Have also tried to use the pen, but that isn't really good for selecting a file to open. Files can be jpgs, documents, even videos. Desktop objects can be almost anything, resulting in multiple opened programs as well as multiple windows, etc.
I have Geek Squad coverage and there is a Microsoft store about 40 miles away in Delaware. Figured I'd check here first before trying those options. Not sure if a refresh would solve these or not and since there's a major effort in reinstalling programs, was a bit hesitant.
Thanks in advance for any constructive advice.