Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. showStatusIcon on inactive InputConnection

showStatusIcon on inactive InputConnection

Scheduled Pinned Locked Moved Mobile and Embedded
15 Posts 3 Posters 9.9k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    joanaguimas
    wrote on last edited by
    #1

    Hi, I have this error: showStatusIcon on inactive InputConnection, Someone help me?

    Thanks a lot

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Can you give a bit more information ? e.g. Where does showStatusIcon come from ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      J 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Can you give a bit more information ? e.g. Where does showStatusIcon come from ?

        J Offline
        J Offline
        joanaguimas
        wrote on last edited by
        #3

        @SGaist Now this message always appears, also when I compile 'Hello world' :/
        This is the message:

        (...)
        I/Choreographer( 3595): Skipped 79 frames! The application may be doing too much work on its main thread.
        W/IInputConnectionWrapper( 3595): showStatusIcon on inactive InputConnection
        D/dalvikvm( 3595): GC_FOR_ALLOC freed 321K, 13% free 9654K/11015K, paused 14ms, total 14ms
        I/dalvikvm-heap( 3595): Grow heap (frag case) to 11.266MB for 1048592-byte allocation
        D/dalvikvm( 3595): GC_CONCURRENT freed 5K, 12% free 10673K/12103K, paused 15ms+10ms, total 60ms
        D/dalvikvm( 3595): WAIT_FOR_CONCURRENT_GC blocked 46ms
        D/HAWAII_EGL( 3595): eglMakeCurrent(NULL) Thread: 3595
        D/HAWAII_EGL( 3595): eglDestroySurface() surface: 0x4fcf7eb0, android window 0x4fcfbff0, Thread: 3595
        D/HAWAII_EGL( 3595): Set SWAP INTERVAL 0
        D/HAWAII_EGL( 3595): eglCreateWindowSurface() surface: 0x4fcfbd78, VC surface: 2, Thread: 3595
        D/HAWAII_EGL( 3595): eglMakeCurrent(0x4fcf8388, 0x4fcfbd78, 0x4fcfbd78) Thread: 3595
        I/Choreographer( 3595): Skipped 71 frames! The application may be doing too much work on its main thread.
        D/HAWAII_EGL( 3595): eglMakeCurrent(0x4fcf8388, 0x51b6b2f0, 0x51b6b2f0) Thread: 3595
        D/HAWAII_EGL( 3595): eglMakeCurrent(NULL) Thread: 3595
        D/HAWAII_EGL( 3595): eglCreateContext() config: 39 context: 0x51b6a980, VC context 2, Thread 3765
        D/HAWAII_EGL( 3595): eglMakeCurrent(0x51b6a980, 0x5198e098, 0x5198e098) Thread: 3765
        D/HAWAII_EGL( 3595): eglMakeCurrent(NULL) Thread: 3765
        E/HAWAII_EGL( 3595): Destroying surface without window
        D/HAWAII_EGL( 3595): Set SWAP INTERVAL 0
        D/HAWAII_EGL( 3595): eglCreateWindowSurface() surface: 0x4fcfc410, VC surface: 5, Thread: 3951
        D/HAWAII_EGL( 3595): eglMakeCurrent(0x51b6a980, 0x4fcfc410, 0x4fcfc410) Thread: 3951
        W/IInputConnectionWrapper( 3595): getSelectedText on inactive InputConnection
        W/IInputConnectionWrapper( 3595): setComposingText on inactive InputConnection
        D/HAWAII_EGL( 3595): eglMakeCurrent(0x4fcf8388, 0x4fcfbd78, 0x4fcfbd78) Thread: 3595
        D/HAWAII_EGL( 3595): eglMakeCurrent(NULL) Thread: 3951
        D/HAWAII_EGL( 3595): eglMakeCurrent(0x51b6a980, 0x4fcfc410, 0x4fcfc410) Thread: 3951
        D/HAWAII_EGL( 3595): eglMakeCurrent(NULL) Thread: 3951
        D/HAWAII_EGL( 3595): eglDestroyContext() context: 0x51b6a980, VC context: 2, Thread 3951
        D/HAWAII_EGL( 3595): eglDestroySurface() surface: 0x4fcfc410, android window 0x51b69880, Thread: 3765
        W/Qt ( 3595): androidjnimain.cpp:546 (void setSurface(JNIEnv*, jobject, jint, jobject, jint, jint)): Can't find surface 1
        W/SurfaceView( 3595): CHECK surface infomation creating=false formatChanged=false sizeChanged=false visible=false visibleChanged=true surfaceChanged=true realSizeChanged=false redrawNeeded=false left=false top=false
        D/HAWAII_EGL( 3595): eglMakeCurrent(NULL) Thread: 3595
        D/HAWAII_EGL( 3595): eglDestroySurface() surface: 0x4fcfbd78, android window 0x51b69278, Thread: 3595
        D/HAWAII_EGL( 3595): eglMakeCurrent(0x4fcf8388, 0x51b6b2f0, 0x51b6b2f0) Thread: 3595
        D/HAWAII_EGL( 3595): eglMakeCurrent(NULL) Thread: 3595

        "org.qtproject.example.untitled" died.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Did you change your Android version in between ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          J 1 Reply Last reply
          0
          • SGaistS SGaist

            Did you change your Android version in between ?

            J Offline
            J Offline
            joanaguimas
            wrote on last edited by
            #5

            @SGaist No, I didn't..

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Which version of Qt are you using ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              J 1 Reply Last reply
              0
              • SGaistS SGaist

                Which version of Qt are you using ?

                J Offline
                J Offline
                joanaguimas
                wrote on last edited by
                #7

                @SGaist I use Qt 5.3.2

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  Did you check if you have the same happening 5.4 ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  J 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    Did you check if you have the same happening 5.4 ?

                    J Offline
                    J Offline
                    joanaguimas
                    wrote on last edited by
                    #9

                    @SGaist No, but you think that the problem could be the version?

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      It might, so it's always worth trying the latest

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      J 1 Reply Last reply
                      0
                      • SGaistS SGaist

                        It might, so it's always worth trying the latest

                        J Offline
                        J Offline
                        joanaguimas
                        wrote on last edited by
                        #11

                        @SGaist

                        Thanks for your help!

                        I installed the Qt 5.4.1. I just tried to transfer the application 'Hello world' but now appears many mistakes I've never seen before, like this:

                        W/System.err(26630): java.lang.ClassNotFoundException: android.graphics.drawable.RippleDrawable
                        W/System.err(26630): at java.lang.Class.classForName(Native Method)
                        W/System.err(26630): at java.lang.Class.forName(Class.java:217)
                        W/System.err(26630): at java.lang.Class.forName(Class.java:172)
                        W/System.err(26630): at org.qtproject.qt5.android.ExtractStyle.getClass(ExtractStyle.java:396)
                        W/System.err(26630): at org.qtproject.qt5.android.ExtractStyle.<init>(ExtractStyle.java:100)
                        W/System.err(26630): at org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:438)
                        W/System.err(26630): at java.lang.reflect.Method.invokeNative(Native Method)
                        W/System.err(26630): at java.lang.reflect.Method.invoke(Method.java:511)
                        W/System.err(26630): at org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:245)
                        W/System.err(26630): at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:655)
                        W/System.err(26630): at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:895)
                        W/System.err(26630): at android.app.Activity.performCreate(Activity.java:5207)
                        W/System.err(26630): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)
                        W/System.err(26630): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2085)
                        W/System.err(26630): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2146)
                        W/System.err(26630): at android.app.ActivityThread.access$700(ActivityThread.java:140)
                        W/System.err(26630): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1238)
                        W/System.err(26630): at android.os.Handler.dispatchMessage(Handler.java:99)
                        W/System.err(26630): at android.os.Looper.loop(Looper.java:177)
                        W/System.err(26630): at android.app.ActivityThread.main(ActivityThread.java:4947)
                        W/System.err(26630): at java.lang.reflect.Method.invokeNative(Native Method)
                        W/System.err(26630): at java.lang.reflect.Method.invoke(Method.java:511)
                        W/System.err(26630): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)
                        W/System.err(26630): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
                        W/System.err(26630): at dalvik.system.NativeStart.main(Native Method)
                        W/System.err(26630): Caused by: java.lang.NoClassDefFoundError: android/graphics/drawable/RippleDrawable
                        W/System.err(26630): ... 25 more
                        W/System.err(26630): Caused by: java.lang.ClassNotFoundException: android.graphics.drawable.RippleDrawable
                        W/System.err(26630): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
                        W/System.err(26630): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
                        W/System.err(26630): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
                        W/System.err(26630): ... 25 more
                        W/System.err(26630): java.lang.ClassNotFoundException: android.graphics.drawable.AnimatedStateListDrawable
                        W/System.err(26630): at java.lang.Class.classForName(Native Method)
                        W/System.err(26630): at java.lang.Class.forName(Class.java:217)
                        W/System.err(26630): at java.lang.Class.forName(Class.java:172)
                        W/System.err(26630): at org.qtproject.qt5.android.ExtractStyle.getClass(ExtractStyle.java:396)
                        W/System.err(26630): at org.qtproject.qt5.android.ExtractStyle.<init>(ExtractStyle.java:101)
                        W/System.err(26630): at org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:438)
                        W/System.err(26630): at java.lang.reflect.Method.invokeNative(Native Method)
                        W/System.err(26630): at java.lang.reflect.Method.invoke(Method.java:511)
                        W/System.err(26630): at org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:245)
                        W/System.err(26630): at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:655)
                        W/System.err(26630): at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:895)
                        W/System.err(26630): at android.app.Activity.performCreate(Activity.java:5207)
                        W/System.err(26630): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)
                        W/System.err(26630): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2085)
                        W/System.err(26630): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2146)
                        W/System.err(26630): at android.app.ActivityThread.access$700(ActivityThread.java:140)

                        and the list goes on..

                        Do you know what can be?

                        thank you for your patience with me! :)

                        1 Reply Last reply
                        0
                        • SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by
                          #12

                          What version of android are you using ? NDK ? SDK ? Java ?

                          Interested in AI ? www.idiap.ch
                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          0
                          • G Offline
                            G Offline
                            GuillaumeG
                            wrote on last edited by GuillaumeG
                            #13

                            Hi,

                            I switch from QT 5.3.2 to 5.4.1 and now I have the same "ClassNotFoundException: android.graphics.drawable.RippleDrawable" error when running my application on my phone (android 4.1.1).
                            It's a new class added in android API level 21.

                            I don't know why this class is used because I have the following line in my android manifest :
                            <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="17"/>

                            I don't know how specified android version for Qt. The generated json file (android-libYourApplication.so-deployment-settings.json) used by androiddeployqt for deployment has the property :
                            "sdkBuildToolsRevision": "21.1.2"

                            1 Reply Last reply
                            0
                            • SGaistS Offline
                              SGaistS Offline
                              SGaist
                              Lifetime Qt Champion
                              wrote on last edited by
                              #14

                              Do you have that API level installed in your developer setup ?

                              Interested in AI ? www.idiap.ch
                              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                              1 Reply Last reply
                              0
                              • G Offline
                                G Offline
                                GuillaumeG
                                wrote on last edited by
                                #15

                                OK, I have installed android sdk 16 and now I have android-16 in the android build SDK list in application setup.
                                I thought the last android SDK contained all previous version for compatibility... I was wrong.

                                1 Reply Last reply
                                0

                                • Login

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • Users
                                • Groups
                                • Search
                                • Get Qt Extensions
                                • Unsolved