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.8k 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.
  • 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