chandu,
For touchscreen support, you must update the files from lubomyr's post #12. Choose, Motorola Touch Screen (Style 2), & 240X320. From
www.getjar.com, get program KeyCodes.jar. Make a copy & try to adapt this program. Load into phone & run and if successful, you should be able to see codes 48 to 57, pressing different areas of the screen.
Keycodes.jar installed in phone returns the key codes for the buttons on the phone. A1200 codes: up=-1,down=-2,left=-3,right=-4,fire=-5,volume up=-30,vol down=-31, smartkey=-5. No codes were reported camera, vr, send & end buttons.
I was trying to find a code that would bring up the pop up keyboard when needed, but have not been successful.