Send keypress to J2ME application

H

hubbobubbo

Hi

I did not find the perfect answer for this when searching, hopefully
someone can straighten this out for me.

I have an application today that is using the Robot class. When a
certain external event happens it will simply invoke a keypress that
affect the topmost application. This is on normal windows however, I
would like to do the same on a Windows Mobile device.

My first approach is to use Java but as the Robot class is not
available for J2ME I wonder if there is any other way to get the same
result with J2ME i.e. invoking a keypress automatically. It is also
necessary that this keypress not only affect the application that
executes it but it should be like it was a real keypress so the
current topmost application is affected.

Thanks
 
E

Evans

Hi

I did not find the perfect answer for this when searching, hopefully
someone can straighten this out for me.

I have an application today that is using the Robot class. When a
certain external event happens it will simply invoke a keypress that
affect the topmost application. This is on normal windows however, I
would like to do the same on a Windows Mobile device.

My first approach is to use Java but as the Robot class is not
available for J2ME I wonder if there is any other way to get the same
result with J2ME i.e. invoking a keypress automatically. It is also
necessary that this keypress not only affect the application that
executes it but it should be like it was a real keypress so the
current topmost application is affected.

Thanks

I don't think this is possible on Java ME. I think you can implement
what you're looking for in Symbian C++ platform, but not in Java ME.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top