Android : How to commit image using InputConnection Class?

on Thursday, July 10, 2014


I am working on InputConnection Class of android. To commit text, we generally use below method:



ic.commitText("Some Value", 1);


But i want to commit an Image in place of Text. It may be something like this:



ic.commitImage("/drawable/Image", 1);


But this type of method doesn't exist?. Any idea how to use some alternative?


0 comments:

Post a Comment