Android soft keyboard settings

Hi,

I want to make the soft keyboard on Android default to numbers for text
input while still allowing the user to input arbitrary text. In Java, I
might have an EditText object on which to use
setRawInputType(InputType.TYPE_CLASS_NUMBER). What would I have to do to
get this working with SDL and JNI?

Jonny D