Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Send keys from J2ME capable cell phone with wifi

Do you have questions about writing plugins or scripts in Python? Meet the coders here.
Post Reply
jchennales
Posts: 5
Joined: Tue Jun 01, 2010 8:20 pm

Send keys from J2ME capable cell phone with wifi

Post by jchennales »

HI everyone,

Not long ago I bought a Nokia C3-00. This is not a smartphone but it has wifi and a qwerty keyboard. I looked around and there were several J2ME apps that claimed it would allow to remote-control a PC but none was suitable or working properly for a media center like use. I decided to write my own, extremely basic, just enter the ip and port of the PC (Broadcaster plugin for EG) and the phone will just send the code for any key pressed as an UDP message, nothing more, nothing less.

The program catches the basic J2ME "actions" (directional keys etc), the non-standard qwerty keys (luckily enough the C3 sends the ascii code) and some basic commands added with XBMC in mind.

Anyway, this applies to a very thin layer of phones, good enough to have wifi, not good enough to use one of the decent "remote control" apps, but if you are right in that layer it may be of use ;)

Well, that's it.
Bye
Attachments
KeyboardUDP.zip
J2ME app to send phone key presses via UDP
(12.71 KiB) Downloaded 257 times
Post Reply