Android Question Using Libraries

Kwame Twum

Active Member
Licensed User
Longtime User
I would want to use the IME library. I checked it under the Libs tab in the IDE, tried using it in code but it's not working. I'm new to this and I've searched as much as possible. This is happening with several libraries.

 

barx

Well-Known Member
Licensed User
Longtime User
Before this line did you declare the object with

B4X:
Dim IME as IME
 
Upvote 0

Kwame Twum

Active Member
Licensed User
Longtime User
thanks a lot guys. I declared it(but not in the Globals ) and it's working.

B4X:
Dim ime1 as IME
ime1.Hidekeyboard

@NJ; Do I really have to initialise it? cos it's already working.
and secondly, do I need to make that declaration in the Globals?
 
Upvote 0

NJDude

Expert
Licensed User
Longtime User
Do I really have to initialise it? cos it's already working
The initialization is needed if you are going to do any keyboard handling.
do I need to make that declaration in the Globals?
If you don't declare it in Globals then you'll be able to use the IME only in the sub that you included IME in.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…