Using java Syntax Highlighting
Parsed in 0.032 seconds, using GeSHi
works fine for me.
I tried this but it made the edittext view uneditable. That is, touching the edittext view did not cause the keyboard to show. This made it impossible to enter text on a device with no soft keyboard. I only tested this on 1.5 though.