Smartphone keys

im new to programming and i have just got a smartphone,
I have been looking at how you use the keys on a Pocket PC using gapi an these forums, but i do not know how to use the keys and Gapi for the Smartphone.
can anyone shed some light on this for me
I have been looking at how you use the keys on a Pocket PC using gapi an these forums, but i do not know how to use the keys and Gapi for the Smartphone.
can anyone shed some light on this for me