Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to collect android app data in my local mysql sever??
Qt 6.11 is out! See what's new in the release blog

How to collect android app data in my local mysql sever??

Scheduled Pinned Locked Moved Solved Mobile and Embedded
27 Posts 4 Posters 13.5k 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
    #10

    Did you already build the MariaDB library and its dependencies ?

    If so, the next step is to get the Qt sources and follow Qt's documentation to build the plugin using the qmake from your Qt for Android installation.

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

    L 1 Reply Last reply
    0
    • SGaistS SGaist

      Did you already build the MariaDB library and its dependencies ?

      If so, the next step is to get the Qt sources and follow Qt's documentation to build the plugin using the qmake from your Qt for Android installation.

      L Offline
      L Offline
      loogicalrobo
      wrote on last edited by
      #11

      @SGaist i have already done mysql plug-in with my Qt and FYI.. my application i have built run on windows it's work fine with database means my application connected with database or even i insert some data (ex:- username and password) in my window application these data insert my database and also reflect on my localhost server ..but when i deploy it's application in my android phone so my database connection is failed or even no data insert in my database,,

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

        You have to build the plugin for your Android Qt. The one you built for Windows can only be used on Windows.

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

        L 1 Reply Last reply
        0
        • SGaistS SGaist

          You have to build the plugin for your Android Qt. The one you built for Windows can only be used on Windows.

          L Offline
          L Offline
          loogicalrobo
          wrote on last edited by
          #13

          @SGaist Thank's .I need little bit help actually i confused where Set the following environment variables:

          SR=/path/to/android/ndk/platforms/android-9/arch-arm
          BR=/path/to/android/ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-
          these variables set in CMD ?

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

            What are you trying to build the MariaDB libraries or the Qt MySQL plugin ?

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

            L 1 Reply Last reply
            0
            • SGaistS SGaist

              What are you trying to build the MariaDB libraries or the Qt MySQL plugin ?

              L Offline
              L Offline
              loogicalrobo
              wrote on last edited by loogicalrobo
              #15

              @SGaist ! I am building the mariaDB libraries in MSYS console (as you suggested me :/wiki.qt.io/Build_Qt_5_MySQL_Plugin_for_Androidi ) but when i compiling mariaDB client than get this error please refer screenshot
              ![alt text](0_1485170839498_upload-5a272961-2d3a-4466-af0e-bea985fd559c

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

                The upload functionality is currently broken. Please use an image sharing site and post the link here.

                On a side note, there's a script given in the wiki page that should help you get things built.

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

                L 1 Reply Last reply
                1
                • SGaistS SGaist

                  The upload functionality is currently broken. Please use an image sharing site and post the link here.

                  On a side note, there's a script given in the wiki page that should help you get things built.

                  L Offline
                  L Offline
                  loogicalrobo
                  wrote on last edited by
                  #17

                  @SGaist Thank's Here's y screenshot please take a look it
                  ![alt text](0_1485322557559_upload-fc4700f2-f746-4aa8-a3a4-3acbf69eb75d

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

                    Again: the upload function from the forum is broken. Use an image sharing website and post the link see here for how to do it.

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

                    L 1 Reply Last reply
                    1
                    • SGaistS SGaist

                      Again: the upload function from the forum is broken. Use an image sharing website and post the link see here for how to do it.

                      L Offline
                      L Offline
                      loogicalrobo
                      wrote on last edited by
                      #19

                      @SGaist ![alt text] (https://forum.qt.io/uploads/files/1485322568635-upload-fc4700f2-f746-4aa8-a3a4-3acbf69eb75d.png)

                      jsulmJ 1 Reply Last reply
                      0
                      • L loogicalrobo

                        @SGaist ![alt text] (https://forum.qt.io/uploads/files/1485322568635-upload-fc4700f2-f746-4aa8-a3a4-3acbf69eb75d.png)

                        jsulmJ Offline
                        jsulmJ Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on last edited by jsulm
                        #20

                        @loogicalrobo Again: you should upload to a image sharing website and post a link to it here.

                        https://forum.qt.io/topic/113070/qt-code-of-conduct

                        1 Reply Last reply
                        0
                        • L Offline
                          L Offline
                          loogicalrobo
                          wrote on last edited by
                          #21

                          https://drive.google.com/a/robodia.com/file/d/0BxeHzjit0TPmQ3pBV1NPSjFZXzQ/view?usp=sharing

                          could you please check the link that I shared from my Google Drive?

                          Thanks

                          mrjjM 1 Reply Last reply
                          0
                          • L loogicalrobo

                            https://drive.google.com/a/robodia.com/file/d/0BxeHzjit0TPmQ3pBV1NPSjFZXzQ/view?usp=sharing

                            could you please check the link that I shared from my Google Drive?

                            Thanks

                            mrjjM Offline
                            mrjjM Offline
                            mrjj
                            Lifetime Qt Champion
                            wrote on last edited by
                            #22

                            alt text

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

                              From the error message, you should select a more suitable Generator.

                              Note that you would likely have got it done quicker using a Linux virtual machine.

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

                              L 1 Reply Last reply
                              1
                              • L Offline
                                L Offline
                                loogicalrobo
                                wrote on last edited by
                                #24
                                This post is deleted!
                                1 Reply Last reply
                                0
                                • SGaistS SGaist

                                  From the error message, you should select a more suitable Generator.

                                  Note that you would likely have got it done quicker using a Linux virtual machine.

                                  L Offline
                                  L Offline
                                  loogicalrobo
                                  wrote on last edited by
                                  #25

                                  @SGaist I made plugin on windows as per your suggestion. but i got this error at last moment ..

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

                                    Do you have that library in the NDK ?

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

                                    L 1 Reply Last reply
                                    0
                                    • SGaistS SGaist

                                      Do you have that library in the NDK ?

                                      L Offline
                                      L Offline
                                      loogicalrobo
                                      wrote on last edited by
                                      #27

                                      @SGaist libz.so and libiconv.a both are library have in my NKD

                                      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
                                      • Unsolved