Android Question IME prevents SENDER

Discussion in 'Android Questions' started by Samplatiner, Sep 21, 2015.

  1. Samplatiner

    Samplatiner Member Licensed User

    Hi all,

    I just recognized, that when I use IME, I can't catch the SENDER of an edittext.

    I added a example project.

    Comment the IME, so the sender works and I get the tag.
    Uncomment the IME-part, so the sender does not work, the edittext in the SUB is not initialized and the app crashes.

    Is it not possible to use both?

    Greetings,

    Daniel
     

    Attached Files:

  2. LucaMs

    LucaMs Expert Licensed User

    You must declare ime in the Globals and initialize it in Activity_Create (or service Starter, I still have not used this)
     

    Attached Files:

    Samplatiner likes this.
  3. Samplatiner

    Samplatiner Member Licensed User

    thanks, this works.

    Only, if you do NOT debug it, but it works :)
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice