Is it possible to press keypad programmatically so that number for the key pressed shows on the screen? See the screenshot below for more explanation please:

Details:
Nokia N70
CLDC 1.1
MIDP 2.0
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
How you approach it will depend on what you want to achieve.
You can quite easily simulate pressing keys on a
Canvas, by calling your Canvas’skeyPressed(),keyReleased()andkeyRepeated()methods directly.This could be good for testing a canvas-based game, ensuring a given state is entered when certain keys are pressed on the canvas.
However, this won’t allow you to control any form-based interaction, or native prompts. So you can’t start the MIDlet, navigate through a LCDUI
FormorList, accept a native security prompt, or edit a nativeTextBox. You’d need to use an emulator and some form of test scripting framework which simulates keypresses, such as Eggplant.