Android Showstatusicon on inactive inputconnection exception

Source: Internet
Author: User

In the development of the time suddenly found in the Input text box click the Input Method Delete button, found that the app inexplicably exited. The log information is as follows:

01-31 16:57:59.524:w/iinputconnectionwrapper (1259): Clearmetakeystates on inactive inputconnection01-31 16:57:59.624 : W/iinputconnectionwrapper (1259): Clearmetakeystates on inactive inputconnection01-31 16:57:59.624:w/ Iinputconnectionwrapper (1259): BeginBatchEdit on inactive inputconnection01-31 16:57:59.624:w/ Iinputconnectionwrapper (1259): Gettextbeforecursor on inactive inputconnection01-31 16:57:59.624:w/ Iinputconnectionwrapper (1259): Endbatchedit on inactive inputconnection01-31 16:57:59.624:w/iinputconnectionwrapper (1259): Sendkeyevent on inactive inputconnection01-31 16:57:59.624:w/iinputconnectionwrapper (1259): SendKeyEvent on Inactive inputconnection01-31 16:57:59.624:w/iinputconnectionwrapper (1259): Clearmetakeystates on inactive Inputconnection01-31 16:57:59.684:w/iinputconnectionwrapper (1259): Showstatusicon on inactive InputConnection

Later, the various search, found that their own in the activity of rewriting the OnKeyDown method directly exited the activity.


So when this warn occurs, see if your code overrides the OnKeyDown or OnKeyUp method and checks for a logical error.


Android Showstatusicon on inactive inputconnection exception

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.