I would like to make a task in my phone that should send keys to it..
In fact i will simulate a remote keyboard to my device. So, there is any way to acess send keys on the device?
Thanks
Edit.
ultrashot from XDA Developers told me to use this:
keybd_event(<key code>, 0, KEYEVENTF_SILENT, 0);
keybd_event(<key code>, 0, KEYEVENTF_SILENT | KEYEVENTF_KEYUP, 0);
But i have no idea how to use this.. Its possible to use this with DLLImport?
Why not just send a Byte Stream of your Keys pressed, you can get the Byte from each Key of your keyboard using the Encoding.Ascii.GetBytes(string) and then decode using Encoding.Ascii.GetString(bytes)
with Mango supporting Sockets you can use a Simple Socket Client, use the Sockets Receive and Send Methods to retrieve the Byte stream which you can then use to populate a text box or something
its not as easy as SendKeys but this is an alternative