Does anybody know if its possible to write a virtual keyboard driver which takes its "keystrokes" from a network stream?
I think about a windows (or MacOS or Linux ... ) application which sends the keys typed in a textfield or similar via TCP/IP to the PDA.
The PDA should take these keystrokes and send them to the application in the foreground.
In Window, I would need a self writen driver (writen in the MS driver development center) to simulate a complete keyboard. What about Windows Mobile? Can the compact framework do something like this even if the programm is not in the main focus?
cu
Dirk
You can not write drivers for Window Mobile in CF, in fact as far as I know you can not write drivers at all in .NET, they have to be written in native code.
But I think that for your purpose drivers are not relevant. In fact, i wouldn't use a 'fake' driver approach for desktop either. It is over complicating matters.
All you need to do is create a small and simple server (should be easy to do in .NET) that will listen to the network and generate keyboard events. It does not have to be an actual keyboard driver or SIP.
Now I am not sure about CF but there is a Win32 API that applies to both desktop and mobile versions: keybd_event()
You can use it to simulate keyboard input from within any kind of app without worrying what application or control currently has focus.
Thanks!
My sample applications works already. I am able to send single keystrokes via TCP. Now I have to think about usabilty and debugging
The next step will be to implement some kind of protocol to send the exact keystroke representation to the PDA...
cu
Dirk
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Due to this tiny transfer protocol everythink works like if the keyboard would be directly connected. All I have to do is implement special characters like @, €, ...
I think I will publish it open source under GPL. But I need responses if anybody needs functions not contained by my little programm...
Hmmm... how about making this work the other way around? I'd love to be able to send keystrokes to my computer from my Pocket PC (for remote controlling Winamp, for instance - all the WLAN Winamp remotes available are either ****e or lack a seek function...).
Related
I have some industry specific software designed for desktop/laptop use that would be great if i could use it on my dopod 838pro. It is unlikely that it would be released in a WM version but i were wondering if there is an emulator that i could use or any other way of making this work.
Thanks
The System Requiremens for this program are Windows 95 or higher,32MG Ram, 256 colour videocard (16 bit coloour or higher), 250mg HD free, 800 x 600 colour moniter
tim838 said:
I have some industry specific software designed for desktop/laptop use that would be great if i could use it on my dopod 838pro. It is unlikely that it would be released in a WM version but i were wondering if there is an emulator that i could use or any other way of making this work.
Thanks
Click to expand...
Click to collapse
Not sure if it is still supported or being worked on, but look here for a way to do it.
You will also have to look here for some of the files that are mentioned.
The rest I shall leave as an exercise for the student...
Ninja1
Couldn't you run it under terminal services if it is an industrial strength app?
V
Thanks
Has anyone had any experiance with the bochs emulator (especially on the hermes) and can tell let me know of any draw backs of this
Terminal Services? i am a noob and if some could explain this to me or point me in the direction of information to help my understanding this would be greatly appreciated
Bochs is slow. ARM processors aren't super fast to begin with, and aren't great at certain types of math functions. As a result, Bochs is perhaps unusably slow. Certainly investigate it, Mamaich has done the best work on it. If you have the resources, have it optimised and report back.
However, if XP could run well on PocketPCs, Microsoft wouldn't have introduced UPMCs right?
So, the alternative to running an XP app directly on the PocketPC is to run it not on the PocketPC.
Terminal services is the Remote Desktop software built into most of our phones. It will let you log onto a "remote" PC's desktop and control it as if you were sitting in front of it. With a high speed data connection, it's very usable, and obviously you get full XP capability (or indeed if you use an alternative like VNC, you can have full Linux or OS X or anything capability) on your PDA.
However you will incur data charges for the connection. But if you're on an office connection or wifi, no problem.
Figure 1: Running Terminal Services on the Universal:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
V
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
"
Idea
j11, the owner of riot.ru, got BLifePlugin on his smartphone and asked me for a PocketPC version of this plugin for his HTC TyTN.
I was too lazy to support a PocketPC configuration of the plugin. Well, my next idea was better and much more useful (I hope).
Description
PluginAdapter is a PocketPC Today plugin and can “host” virtually any MS Smartphone homescreen plugin that doesn’t use smartphone-specific features of windows mobile.
PluginAdapter has only one variable to set: homescreen XML file path. You can change it with your favourite registry editor at
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Today\Items\PluginAdapter\HomeXMLFilename (REG_SZ)
If this value is absent, the file
\My Documents\PluginAdapter.home.xml
will be used.
This XML file is an ordinary smartphone homescreen xml with one restriction: you can have only one <plugin> defined (current version doesn’t support more). You should leave default, scheme, etc. intact because color scheme, fonts, padding and many more are defined there.
Interface
PluginAdapter doesn’t have its own interface except that one little information box displayed when first Action event occurs (see below).
Compatibility
Plugin will work on touchscreen devices running Windows Mobile 2002 or later (PocketPC or Phone Edition).
All tests were passed with PocketPC emulator (Windows Mobile 2003) because I do not have PocketPC. Some guys reported that PluginAdapter works well on Q-Tek S100 (Windows Mobile 2003 SE), HTC TyTN (WM5), Acer n311 (WM5). I used my BLifePlugin as a guest smartphone plugin for all tests (installation package contains both the PluginAdapter and BLifePlugin, version 0.3).
ATTENTION!!!
This project is currently in Beta stage, please report bugs and suggestions at this topic at modaco.com.
At the download page you may find a debug-logging-enabled version of adapter which can help me to solve problems. Log is saved to \My Documents\PluginAdapter_xx.log. I would be appreciated if your bug reports will be accompanied with log file! Thank you!"
z2 Remote2PC 1.4
Its a Freeware
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Summary: Remote control your Windows Mobile for free
Welcome to z2 Remote2PC for Windows Mobile v1.4
What's new in v1.4:
* Advanced audio support including stereo sound, walkie-talkie and duplex talk
* Remote control your PDA/Phone from desktop PC
* Remote control your PDA/Phone from another PDA/Phone
* Minor improvement and bug fix
Requirements:
Server minimum hardware requirement: CPU Pentium III 500, 128M memory, 15M free disk space;
Download:
http://classic.pocketgear.com/download.asp?product_id=16879
or
http://www.mobiletopsoft.com/pocket-pc/download-z2-remote2pc-1-4.html
or
http://www.ziddu.com/downloadlink/1844281/Setupz2R2PC1420.rar
http://www.ziddu.com/downloadlink/1844281/Setupz2R2PC1420.rar
this is EXACTLY what i needed. thank you.
In the past this software has only worked for about 1 month before needing a serial code to activate and keep working.
I assume this will be the same with this one or am I wrong?
Wait, the topic says "control your PC from your PDA" but the description is "control your PDA from your PC"...
which one is it?
fb401 said:
Wait, the topic says "control your PC from your PDA" but the description is "control your PDA from your PC"...
which one is it?
Click to expand...
Click to collapse
Looks like it may go all ways.
Looks like the server software is free, but you must buy the client software.
I'll stick with LogMeIn for free.
I just installed this software and it works great! LogMeIn.com and Go2MyPC.com are easier to work with but neither supports audio on the PPC only from PC to PC. With Remote2PC it was easier to switch to a static IP address account to log on instead of creating a DDNS account. There are also more on screen icons on the Remote2PC software than the LogMeIn.
Only thing with the audio on Remote2PC is that it's capturing the audio from my web cam microphone. I would like to capture sound from my sound card. I heard one suggestion to use a standard male to male jack and loop it from the microphone port to the speaker port but haven't tried it out yet. It always astounds people when you tell them that you are controlling your computer remotely. I also like to use LimeWire and PalTalk on my PDA.
You can use this software from PPC to PC and PC to PPC. And although this thread title says Freeware it is not. The site offers this software for $39 but when checking out it only costs $15 for 1 year. Still better than LogMeIN which might be free but is $70 for the Pro version to enable sound (just not on a PPC)
Basically, I'd like to get the ball rolling with making a low cost (Free, Open Source would be best) IR Universal Remote application for the Android Platform.
I wrote up this wiki to help establish current info:
Slatedroid Wiki - Adding IR output to Android Devices
Please see the wiki for all the details, but essentially, the hardware involved is trivial. As far as coding, the following needs to be written or ported from other projects:
A GUI to manage the buttons and selection of devices
A parsing function to read info from pre-made remote control code text files
An audio signal/waveform generator
A database to store the information
All of this stuff has been done before, it's just a matter of bringing it all together into one android-based project.
If the project really took off, future development might include:
Support of LIRC, Pronto, CCF, and/or other IR remote file protocols
Integrated controlling of WiFi and Bluetooth devices
A pre-parsed central database stored "on the cloud" for all major devices
Possibly supporting the "learning" of a new device (would need a IR sensor/decoder attached to microphone input)
Feel free to discuss, correct any errors, bounce new ideas around, etc.
With google tv most of plumbing code and the UI will be available, albeit for a small set of machines and via bluetooth. (google remote)
They used to do this actually.
I remember a long time ago, it was with remote software. It would store the IR signals as WAV files recorded via a 3.5mm headphone IR sensor.
I think you could even make one. All you need to receive and send IR signals is a audio recorder/player. Map certain software buttons to each audio file to make a "Remote Controller" type of device".
Edit:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Yes, all that info is already in the wiki. It's been done a million times, which makes me wonder why there is no one around with an android version yet.
britoso said:
With google tv most of plumbing code and the UI will be available, albeit for a small set of machines and via bluetooth. (google remote)
Click to expand...
Click to collapse
Google TV will be WiFi controlled though, not IR, right? If the source code for the gui was available, that would be a good start.
Hippo-ADK is an Android-powered Development Platform that helps create your dream robots and gadgets with your Android devices.
It connects with your Android phones and tablets in real-time through USB and Bluetooth, giving you instant access to cameras, LCD screens, and various types of sensors without having to spend a dollar on optional parts.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
With Hippo-ADK and Hippo-Lego, you can tap in to these resources and link them with Lego, MakeBlock, or other DIY parts to make many fun, creative applications.
Especially since Hippo-ADK supports USB communication which has very small delay (0.5-3ms), it can make such interesting applications as a self-balancing robot using your phones whereas microcontroller board with only Bluetooth such as Lego NXT brick cannot.
Why you should be excited about Hippo-ADK:
1. Easy coding; No hardware programming
Hippo-ADK uses graphical programming platform App Inventor or Java API to program. It substantially lowers the learning curve by completely bypassing hardware programming.
2. Compatible with Arduino
Although hardware programming is not a requirement, you are welcome to use the Arduino language and IDE to extends our firmware capabilities.
Here are some examples using Hippo-ADK and Android phones:
You can program your Android devices and other external hardware using graphical programming. Here are some sample codes:
Control LED with Proximity Sensor and Digital Write
Flame Sensor and Alarm using Digital Read/Write
Self-Balancing Robot (partial)
MoleMash Game (partial)
Comparison Between Bluetooth and USB Connection
We compare the delay time when Hippo-ADK sends a command to an Android device, and the device sends it back to Hippo-ADK. It takes 0.5-3 ms via USB ADK whereas it takes 20-120 ms via Bluetooth.
Below is a game we created using Hippo-ADK and App Inventor. It uses physical buttons to control a retro-style smash-a-mole game. No hardware programming was involved.
[flash=200,200]https://www.youtube.com/watch?v=Li06L3uwCaA[/flash]
[flash=200,200][http://youtu.be/Li06L3uwCaA]
For more information, see our Kickstarter campaign.
https://www.kickstarter.com/project...-adk-create-your-dream-gadget-with-a-smart-de