attachWithIME not working on Android (for keyboard)

I am trying to open keyboard for android using attachWithIME on CCTextFieldTTF. But keyboard does not show up. Any solution?