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. [SOLVED] Ministro?
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Ministro?

Scheduled Pinned Locked Moved Mobile and Embedded
21 Posts 4 Posters 12.5k Views 1 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.
  • O Offline
    O Offline
    overtime
    wrote on last edited by
    #1

    So when I run my application I get this on the AVD:
    @
    This application requires Ministro service. Would you like to install it?

    Can't find Ministro service. The application can't start.@

    I don't know what to do :(

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

      Hi,

      IIRC, you need to install Ministro by hand on the AVD. Or you can also deploy the Qt library directly.

      There's both options available on the Deploy Configuration options in Run in the Project panel

      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
      • O Offline
        O Offline
        overtime
        wrote on last edited by
        #3

        Alright, I have found the menu.

        But how do I deploy the Qt library directly?

        Is one option better than the other?

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

          The second or the this.

          If you deploy locally, it takes longer the first time, then you only have your application to upload, but IIRC you'll have to do it again when you reboot the AVD.

          Otherwise bundle with the APK, a bit longer to deploy but you don't need anything else

          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
          • O Offline
            O Offline
            overtime
            wrote on last edited by
            #5

            Okay, I think I will bundle it with the APK.

            I just don't know how to do that. I'm trying to follow http://qt-project.org/doc/qtcreator-3.0/creator-run-settings.html but I'm getting no where at a slow rate.

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

              That one's not for Android. Just open the Project Panel, go to run and deploy the Deployment part, you'll see a group of button allowing to choose what you want to do.

              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
              • X Offline
                X Offline
                Xander84
                wrote on last edited by
                #7

                Hi, if you can't find it, it looks like this in the android run configuration:
                !http://i.imgur.com/RnLM097.png(android run config)!

                1 Reply Last reply
                0
                • O Offline
                  O Offline
                  overtime
                  wrote on last edited by
                  #8

                  Thanks for the image. I actually don't have that option under Qt Deployment. I have the first two options.

                  1 Reply Last reply
                  0
                  • O Offline
                    O Offline
                    overtime
                    wrote on last edited by
                    #9

                    !http://i.imgur.com/qilYTde.jpg(Ministro)!

                    1 Reply Last reply
                    0
                    • X Offline
                      X Offline
                      Xander84
                      wrote on last edited by
                      #10

                      weird, what version of Qt, Qt Creator and android SDK are you using?
                      seems like you have alot of Kits installed in your Qt Creator :p

                      1 Reply Last reply
                      0
                      • O Offline
                        O Offline
                        overtime
                        wrote on last edited by
                        #11

                        I'm using Qt Creator 3.0. I have Qt 5.2 and Qt 4.8 kits. The problem with Qt 4.8 is that it requires necessitas.

                        The current build I am trying to compile for is Qt 4.8 running necessitas. I should try to port the project to 5.2 but I am having sooo much trouble with that I figured maybe I could get it to work on the original build.

                        1 Reply Last reply
                        0
                        • S Offline
                          S Offline
                          s.frings74
                          wrote on last edited by
                          #12

                          Then I would install the ministro APK. You can find it in Google Play. If you are working with the Genymotion emulator, then you can find the APK file with google and install it by dragging it from the file manager to the emulator window. On a real device, you can install APK files also with the adb command over USB.

                          1 Reply Last reply
                          0
                          • X Offline
                            X Offline
                            Xander84
                            wrote on last edited by
                            #13

                            if you look at Qt Creator (or the screenshots here) there is also a button "Install Ministro from APK".. just saying :)

                            1 Reply Last reply
                            0
                            • O Offline
                              O Offline
                              overtime
                              wrote on last edited by
                              #14

                              What is the Genymotion emulator?

                              I'll try installing the ministro APK. Where do i find this? Once I have that installed what do I do next?

                              I would prefer not installing anything outside of using Qt Creator. Mainly because I'm trying to minimize all steps that are required outside of Qt Creator. Once I'm done getting this whole project set up I'm going to write up a guide letting other know what was done so they can easily reproduce what I have.

                              1 Reply Last reply
                              0
                              • O Offline
                                O Offline
                                overtime
                                wrote on last edited by
                                #15

                                [quote author="Xander84" date="1398885463"]if you look at Qt Creator (or the screenshots here) there is also a button "Install Ministro from APK".. just saying :)[/quote]

                                Well that answers one of my questions :)

                                1 Reply Last reply
                                0
                                • X Offline
                                  X Offline
                                  Xander84
                                  wrote on last edited by
                                  #16

                                  Well you know there are search engines for the internet, right? :D
                                  Ministro APK: http://sourceforge.net/projects/ministro.necessitas.p/
                                  Ministrore play store link: https://play.google.com/store/apps/details?id=org.kde.necessitas.ministro
                                  Genymotion Android Emulator: http://www.genymotion.com/

                                  I still prefer the "official" Android Emulator with "Intel HAXM":https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager Support. You can install that with the Android SDK downloader, but keep in mind that HAXm and Genymotion use x86 builds of Android (not ARM), one major reason why they are faster but from my experience not very good for native Qt apps.. my apps keep crashing with Andorid x86, don't know why on ARM devices and emulators they work fine.

                                  1 Reply Last reply
                                  0
                                  • O Offline
                                    O Offline
                                    overtime
                                    wrote on last edited by
                                    #17

                                    [quote author="Xander84" date="1398886146"]Well you know there are search engines for the internet, right? :D
                                    Ministro APK: http://sourceforge.net/projects/ministro.necessitas.p/
                                    Ministrore play store link: https://play.google.com/store/apps/details?id=org.kde.necessitas.ministro
                                    Genymotion Android Emulator: http://www.genymotion.com/
                                    [/quote]

                                    I suppose so :(
                                    This is always a fun response :)

                                    http://lmgtfy.com/?q=Ministro+APK

                                    I'll try those and get back to you. I really appreciate everyone's help!

                                    1 Reply Last reply
                                    0
                                    • O Offline
                                      O Offline
                                      overtime
                                      wrote on last edited by
                                      #18

                                      I get this in General Messages:
                                      @C:/Users/Darrel/adt-bundle-windows-x86_64-20140321/sdk/platform-tools/adb.exe -s emulator-5554 install -r C:/Users/Darrel/Ministro II.apk@

                                      And then it seems to sit there like nothing happened. I figure it has installed so I run my program and it says

                                      @ This application requires Ministro service. Would you like to install it?@

                                      I hit yes:

                                      @

                                      Can't find Ministro service. The application can't start.
                                      

                                      @

                                      :(

                                      1 Reply Last reply
                                      0
                                      • X Offline
                                        X Offline
                                        Xander84
                                        wrote on last edited by
                                        #19

                                        did you check the app list on the emulator/device? i have never used Ministro but it should show up in your app list I guess, if successfully installed. .)

                                        1 Reply Last reply
                                        0
                                        • O Offline
                                          O Offline
                                          overtime
                                          wrote on last edited by
                                          #20

                                          Well I solved the problem of why it wouldn't install "Ministro II.apk"!

                                          It wouldn't install it because of the name. It had a space in the name so I had to use quotes around the whole command!

                                          @C:/Users/Darrel/adt-bundle-windows-x86_64-20140321/sdk/platform-tools/adb.exe -s emulator-5554 install -r C:/Users/Darrel/Ministro II.apk@

                                          @C:/Users/Darrel/adt-bundle-windows-x86_64-20140321/sdk/platform-tools/adb.exe -s emulator-5554 install -r "C:/Users/Darrel/Ministro II.apk"@

                                          It doesn't show that error from the Qt Creator General Messages interface. I had to be in CMD to see the error. Makes me wonder if Qt should default to always putting quotes around the paths?

                                          That problem may be solved but it brings me to a new problem!

                                          @Ministro is not compatible with your application. Please upgrade Ministro service.@

                                          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