using photon as an external usb keyboard for pc - Motorola Photon Q 4G LTE

i remember in the wm6.5 days there was a mod/app to enable using the phone as a usb keyboard for any pc.
just start the app, plug your phone into usb port, and pc recognizes a new HID kb device.
so basic, so useful, so priceless, used it all the time in the field, and saved lugging around a keyboard to every job site.
seems android requires a custom kernel to achieve this without needing an app installed on the pc itself, from the one app i found in the market.
just seeing if anyone has any ideas to make this feasible with just an app, so it could be used on a stock rom, without needing custom kernel.

Related

[Q] Send Key from PC/Laptop or External Keyboard, Keyboard Simulation.

Hi,
Android <-- USB/Bluetooth <-- PC/Laptop (Keyboard)
Few months ago, I try to get this things to work but no luck. Now I am really need to solve this again to make my life easier.
The case is in work place I have PC/laptop and my Android phone of couse. I want to use my phone with actively require keyboard typing for some reasons. Since I am using HTC Desire and I have two keyboards on my desk, why not I am using any of the keyboards to pair with my Android!.
I dont have any bluetooth keyboard and I want to utilize my desktop keyboard
After searching and googling with no luck for second time, I post here by hoping somebody can share with me with the same situation and interesting Android feature.
I know someone has hack a USB keyboard to directly connect to Micro USB in HTC to act as USB On The Go but I am not interested to cut my keyboard wire for that purpose only and not sure it can be done for Desire.
Bluetooth:
Last time I found a solution by using KeyPro from MobileGear and Choose a Freedom or i.Tech Virtual Keyboard driver. Then I create a Windows .NET application on laptop to send a Key code to KeyPro via bluetooth. The problem is I dont know the key codes designed for the keyboard to be sent. The developer also dont want to reveal the codes. I only need any real bluetooth keyboard supported by the supported keyboard to capture the key codes and map into my .NET application to simulate the keyboard from my Laptop.
** If somebody have the supported keyboard please share
USB:
Today I just thinking if possible from USB debugging mode (phone attached to Laptop USB), use adb shell, script/windows app or whats over, can send key to Android, so any active/foreground app can receive it just like what Android keyboard do???
LaNN

[Q] USB port

Is the main USB port active or any good uses for it yet
USB thumbdrives appear to be the only thing that works and are not hot-swappable (must reboot to see it). On some very rare occasions the thumbdrive will be seen without a reboot, but the ratio is about 1/20 times (yes I tested this).
USB host function and bluetooth input connectivity are very poor on the stock based FW.
wireless kb/mouse work fine in cm b4
I've gotten a wireless and wired keyboard to work, but never a mouse.
liquidcaffeine said:
I've gotten a wireless and wired keyboard to work, but never a mouse.
Click to expand...
Click to collapse
your sig says you're on TnTlite. you got the external keyboards working on that or a different FW ?
h4x0rjdag said:
your sig says you're on TnTlite. you got the external keyboards working on that or a different FW ?
Click to expand...
Click to collapse
Both stock and TnT Lite worked with the keyboards. I've tried USB wired and USB wireless; keyboards work, but no love for a mouse. Haven't tried Bluetooth
liquidcaffeine said:
Both stock and TnT Lite worked with the keyboards. I've tried USB wired and USB wireless; keyboards work, but no love for a mouse. Haven't tried Bluetooth
Click to expand...
Click to collapse
Few questions please:
1. Are you using TnT Lite 2.0?
2. This device really has USB wireless drivers and control chip, or do you mean bluetooth?
3. How can you get a wireless or manual keyvboard to read when the options will not allow anything but the default keyboard? This is the (or a) reason Wiimote and other input devices will not work.
4. What keyboards for USB and wireless?
I could not get the device with TnT 2.0 to see anything via USB except thumb drives and absolutely nothing is seen via bluetooth as far as input devices. Part of the problem is the same process for hotswap (that does not work) is also part of the polling process for hardware to be seen and read. Gtablet apparently does not look for devices except at start-up.
Thanks
any extra steps needed other than plugging it into the usb port....?
what model keyboards were they?
I have found that it is also good for charging my phone. Seems to work whether the screen is on or off.
h4x0rjdag said:
any extra steps needed other than plugging it into the usb port....?
what model keyboards were they?
Click to expand...
Click to collapse
I just plugged my generic wired keyboard into the USB port -- first times after the g-tablet was booted up, the second time before it was booted up -- both times the keyboard works just fine. To enter type I simply tap on the text input box and start typing on the real keyboard. If you tap on the textbox you will bring up the on-screen keyboard; that does not interfere with the real keyboard. Alternatively, you can touch the "return" button which will remove the on-screen keyboard, at which point you can then start typing with the real keyboard without the on-screen one, the one exception being the default brower (the on-screen keyboard reappears as soon as I start typing).
Right now I'm on TnT Lite 2.0, but the USB keyboard worked when I was still on stock (pre-update).
As for USB flash drive: I just plug mine into the already booted-up g-tablet, and I am able to access all the files -- I can view the pdf and listen to mp3 etc (this is definitely not true with stock TnT).
NOTE: ESfile explorer do NOT see the files on the USB drive the moment I plug the drive it. So I back out to the home screen, hit ESfile explorer again, and wa la, the files are there. I guess it takes a few seconds to scan the drive (understandable...)
I just rebooted the g-tablet and then plug in the USB drive, and it still works! This time I waited 5 seconds before firing up the ESfile explorer and the files are there.
I have no luck using a wired mouse with the g-table
I have used BT keyboard with Bluetooth keyboard app, but as has been confirmed, BT mouse does not work with bluetooth apps or dirctly. The BT program was problematic, but a generic belkin bt dongle works with the wireless keyboard just by pushing the pairing button on the dongle and then just hitting some random keys on the keyboard while it is in discover mode. After that, you just begin typing.
omg wooooooo quake 3 with keyboard hahaha this is a riot
Whatformat does the drive have to be in for the USB to read it. Also im running latest version tnt lite and the device seems to hang alot. I have a task mgr and fequetly close apps and it helps some. Any ideas? Seems alot of stuff starts up when you boot. Is there a way to stop that?
thanks Matt
Also my Microsoft bt kb and and mouse work fine on this device. Haven't tested the bt pocket kb for my old dell axim yet. Needs batteries.
Matt
rushless said:
Few questions please:
1. Are you using TnT Lite 2.0?
2. This device really has USB wireless drivers and control chip, or do you mean bluetooth?
3. How can you get a wireless or manual keyvboard to read when the options will not allow anything but the default keyboard? This is the (or a) reason Wiimote and other input devices will not work.
4. What keyboards for USB and wireless?
I could not get the device with TnT 2.0 to see anything via USB except thumb drives and absolutely nothing is seen via bluetooth as far as input devices. Part of the problem is the same process for hotswap (that does not work) is also part of the polling process for hardware to be seen and read. Gtablet apparently does not look for devices except at start-up.
Thanks
Click to expand...
Click to collapse
I'm using TnT lite 2.02. I've tried a standard USB keyboard and it works fine. Takes just a few moments for detection, but afterwards tapping into any edit box allows for input via the keyboard. For wireless, I've tried several RF wireless combo units. These, from Microsoft, Logitech and a few others, have a USB transiever (sp?) That works with the keyboard, but I haven't had any luck with a mouse.
My unit seems to play nicely win USB flash drives as well, including being hot swapable friendly. I've not had to reboot just for detection of a flash drive.
They only Bluetooth device I've tried is a pair of Motorola S9 stereo headphones, which worked just as well as they do with my iPhone.
liquidcaffeine said:
I'm using TnT lite 2.02. I've tried a standard USB keyboard and it works fine. Takes just a few moments for detection, but afterwards tapping into any edit box allows for input via the keyboard. For wireless, I've tried several RF wireless combo units. These, from Microsoft, Logitech and a few others, have a USB transiever (sp?) That works with the keyboard, but I haven't had any luck with a mouse.
My unit seems to play nicely win USB flash drives as well, including being hot swapable friendly. I've not had to reboot just for detection of a flash drive.
They only Bluetooth device I've tried is a pair of Motorola Ismael stereo headphones, which worked just as well as they do with my iPhone.
Click to expand...
Click to collapse
Is your device newer? As in last week or two (mine is one of the first 1,000)? No luck with mine to the point I returned it yesterday, a few days before too late to return it. I tried everything I could think of with no luck.
What was the keyboard model & number? Zero luck with bluetooth as well, for any input device I tried. Using the same FW as you are.
I use my lenovo htpc kb/mouse. http://www.amazon.com/Lenovo-Multimedia-Remote-with-Keyboard/dp/B0036VO67I
As soon as I plug it in it works. A mouse cursor pops up when it detects the slightest movement of the trackball.
Again, this is wireless not BT on CM B4.
switt said:
I use my lenovo htpc kb/mouse. http://www.amazon.com/Lenovo-Multimedia-Remote-with-Keyboard/dp/B0036VO67I
As soon as I plug it in it works. A mouse cursor pops up when it detects the slightest movement of the trackball.
Again, this is wireless not BT on CM B4.
Click to expand...
Click to collapse
Sorry, I am referring to TnT based FW. With CM you lose either the internal or external microsd (one or the other).
Of course CM works, since no lame TnT OEM devs to screw things up that should not be messed with in the first place
If CM ever works with all storage, it will be a nice option
People report success with TnT 2.0, but not seeing any specifics as to how and what they are using. Nothing worked for me using TnT 2.0.
I have used a thumbdrive with good results. I usually put the tablet to sleep while swapping the usb drive in or out. This accomplishes two things...one, it keeps the tablet from spontaneously rebooting (which happened to me once while pulling out the thumb drive) and two, it ensures that the tablet sees the the usb drive. The tablet seems to scan for drives when it wakes up.
On my tab with CM B4 \sdcard is my 8gb micro sd (external card) and \emmc is the onboard 16gb of space. It still doesn't go into usb storage mode when plugged into a PC but you can adb in or go to CW and mount usb. I'm pretty sure Bekit integrated the fixes that came down with the TnT update, not to mention more that we found. Huge thanks to him for all his hard work and quick updates.

[Q] Any way to use the phone while using MTP?

Is there any real purpose to the phone locking up whenever you are transferring files? It's not like it doesn't work, because I can still text and access the file system using Airdroid, and yet the stupid thing won't even allow me to go the homescreen or even pull down the notification bar when it's active.
Is there any way to transfer files via USB without their built in MTP application?
Anymore I just use the OTG cable to plug in flash drives directly to the S3.
I got a powered hub and can sport a few at once.
Makes life so much easier.
Unless on linux, interacting with a pc is beyond aggravating for this device.

[Q] How to control phone via ADB/OTG Mouse (my touchscreen died)

My touchscreen just crapped out on me a couple weeks back. I've bought a new phone and was able to retrieve all my documents/pictures from my One XL as it functions perfectly in all other aspects other than the touchscreen.
I was hoping to turn this into just a not so portable PMP having it permanently sit in the dock so I can watch movies and youtube while on my PC and control the phone via the usb port with my mouse. I tried my OTG cable with a usb mouse but that doesn't seem to work.
I also tried android screencast which while it mirrors the device's screen onto the PC doesn't actually grant any control over the device.
I was wondering if you guys knew of a way I can bypass my lockscreen via using the ADB as that's the first hurdle I need to get through.

[Q] Superpad Flytouch 7/8 serial over USB host?

Hi,
I'm trying to learn about serial communication with devices from an Android tablet via USB host mode. I have a tablet, I have the devices, I have the apps... they just won't talk. It's most likely something to do with the firmware on my odd tablet, or maybe I'm just missing something stupid.
The tablet:
SUPERPAD FLYTOUCH
10.2" >24GB< ANDROID 4.0 TABLET A10 1.5Ghz CPU | 1GB RAM
"About this Tablet" says:
Model: BC1003
Android 4.04
Baseband ver 1.5rc4
Kernel 3.0.8 [email protected] #2 Mon Aug 6 15:23:31 CST 2012
There are 2 USB-A ports on this device. One has a physical switch that goes from device to host mode, comes with a male-male cable for attaching to a PC. The other port is host only. I can connect a USB thumb drive and it mounts just fine, shows up in the file manager, no problems. Same for a USB keyboard. It powers any USB device I've plugged into it.
The problem:
It works well enough for most things. But, I've now run into two applications that won't use the host USB port on the thing. Both seem to want to do basic serial communication. At this point, those 2 apps are about the only things I actually want to do with it, so I'm willing to experiment.
I have a USB oscilloscope that comes with an Android app. The app installs and runs fine, but it won't recognize the hardware usb device I've plugged in. Annoying, but I don't really need it. I've recently purchased some digital scales(DROs) for my lathe/mill. There's an Android app that interfaces these scales to an Arduino device via USB. Installs fine, won't connect to the Arduino. Okay, now this is starting to get annoying. Also, for what it's worth, the Android app for doing general Arduino stuff didn't work either.
So, the USB hardware works enough to connect a USB thumb drive or keyboard but the firmware won't use said hardware to do what I want.
The questions:
Am I doing something wrong? Is there an app I can install that enables serial communication over USB host mode? Am I missing something stupid?
Is there any other firmware I can run that will allow this communication? I think I've got the Windows utility that will allow me to flash the rom. I've watched the youtube vids on dis-assembly so I can pull the internal tf/sdcard and make a full dd backup. I'm assuming it contains the roms and everything else. Actually, I'm thinking about just pulling said card and replacing it with a smaller one for experimenting. Will I still be able to flash it using the windows LiveSuite utility even with a blank card inserted?
At this point, I'm willing to play. I mean, it's still useful enough to be careful, but I'm willing to take some chances and put a little work into it. If I can get it running with the DRO software while talking over USB to the Arduino, I'd sacrifice everything else. GPS, battery life, wifi, screen rotation, sound, whatever. I'd just bolt the thing next to the mill and that's that. Failing that, I'll put it back to stock and stick it on the fridge for my wife to look up recipes, Yeah, poor tablet... motor oil and metal swarf or cooking oil and flour. No happy retirement for this tablet, sitting in a drawer gathering dust.
Any hints, links, recommendations, or directions appreciated.
David...

Categories

Resources