How can I set input mode to only number?

I read the Textinput sample, but didn’t get answer yet, could anyone give me some help?

How can I do it?

I just want to start input panel with only number mode.

I had solution with it.

Any one who want it could find it by my blog: blog.csdn.net/smilelance