views:

361

answers:

2

Hello

I created my own custom keyboard following the the example in the sdk.

Now I would like to use this custom keyboard by default on my EditText in my app (actualy I have to long press the edittext and then choose my custom keyboard).

How can I do that ? (seems to be related to the inputType property but I can't find out how to set it)

Thanks !

+1  A: 

How can I do that?

Have your users set your keyboard to be their default. Applications do not have control over that.

CommonsWare
+1  A: 

If by saying "I created my own custom keyboard" you mean you wrote your own IME, this is probably not what you want. An IME is a separate component that is designed to interact with any other application on the device for text input.

If you just want a custom keyboard in your own app, you should implement that inside your app as part of its UI.

hackbod
Ok thanks ! Yes I made my own IME, but as you say, I want it to be usable only inside my app.What component should I use to implement this in my app ? Do you have a link ?
jpprade