Anything beyond that and you'll have to find a way to graft on a keyboard. Usb or bluetooth ?
For real coding I'd do it with a cross development kit, which is how most phone software development is done.