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. QT for android: How to implement scanning the wifi signal strength(RSSI) ?
QtWS25 Last Chance

QT for android: How to implement scanning the wifi signal strength(RSSI) ?

Scheduled Pinned Locked Moved Mobile and Embedded
12 Posts 5 Posters 8.1k Views
  • 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.
  • F Offline
    F Offline
    freshman
    wrote on 21 Sept 2013, 05:51 last edited by
    #1

    Hi;
    I'm trying to develop an android application using QT for android. The application will be used to scan the RSSI. Everyone who ever do like this can tell me what i should do, which functions i may use? should i use JNI to call java functions ? And how can i implement call java function while i use QT Creater 5.1.1???
    Every help will be appreciated.

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on 21 Sept 2013, 06:21 last edited by
      #2

      Hi,
      AFAIK no need to use java function in Qt 5.1.1. You can use the basic Qt programming that we are using in windows application. I have created an Android application in Qt 5.1.1. But currently we can develop in Qt GUI wizard. QML 2.0 is not fully supported in it. May be the future Qt release will support QML.
      But i think you can easliy create your application using Qt GUI with C++.

      Hope this will help you.
      You need to download Android SDK, NDK from Android webiste and configure it in Qt IDE. Also you can download Qt Necessitas 4.8 version, "Your text to link here...":http://necessitas.kde.org/necessitas/necessitas_sdk_installer.php, which comes with all Android components. You can just install, build the code, run it in Android Emulator or device and enjoy. If you need any help contact me in my mail.

      Regards
      Ansif

      1 Reply Last reply
      0
      • F Offline
        F Offline
        freshman
        wrote on 21 Sept 2013, 06:45 last edited by
        #3

        Are you sure i can use windows application in a mobile phone's application? what i want to stress is that the apk will be download to a smartphone with android system. can the apk run windows' fun in a android system to scan the RSSI around my phone?

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on 21 Sept 2013, 07:00 last edited by
          #4

          Hi,
          Using Qt IDE, you can develop an .exe, .apk and many other formats. Only thing you need to select the appropriate kit in the Build&Run page of Qt IDE.

          The benefit of Qt is, Write code once and deploy every where. It means the same code for windows is used for Android development too."Your text to link here...":https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&ved=0CDAQtwIwAA&url=http://www.youtube.com/watch?v=6ze5Kr0emzQ&ei=C0Q9UrusGYjZrQfohIGwDA&usg=AFQjCNF8Nmx5ktO2U0n_EUPySCuow0LM2Q&sig2=LP5uxidp7RvhJGG3AsPgag&bvm=bv.52434380,d.bmk

          Hey one more things, its Qt, not QT
          Regards
          Ansif

          1 Reply Last reply
          0
          • P Offline
            P Offline
            p3c0
            Moderators
            wrote on 21 Sept 2013, 07:07 last edited by
            #5

            bq. can the apk run windows’ fun in a android system to scan the RSSI around my phone?

            If you mean that you want to use windows native functions in android then, no it can't.

            157

            1 Reply Last reply
            0
            • ? Offline
              ? Offline
              A Former User
              wrote on 21 Sept 2013, 08:15 last edited by
              #6

              [quote author="p3c0" date="1379747277"]bq. can the apk run windows’ fun in a android system to scan the RSSI around my phone?

              If you mean that you want to use windows native functions in android then, no it can't.[/quote]

              Hi,
              I agree with you.

              Ansif

              1 Reply Last reply
              0
              • F Offline
                F Offline
                freshman
                wrote on 21 Sept 2013, 08:27 last edited by
                #7

                Now, i have developed a little app to scan RSSI running in Linux system. I used the wireless tools in the app. So, can i transplant the little app to android system without any change of the wireless tools? I mean , can i use wireless tools lib for a android apk?

                1 Reply Last reply
                0
                • ? Offline
                  ? Offline
                  A Former User
                  wrote on 21 Sept 2013, 08:44 last edited by
                  #8

                  Hi,

                  If you have developed the application in Qt, then just configure Qt with the Android SDK and NDK. After that, build the same code and deploy it into Android. I think yes you can install the third party library in Android with your application.
                  Config Android in Qt,
                  "Your text to link here...":http://qt-project.org/doc/qtcreator-2.7/creator-developing-android.html

                  Ansif

                  1 Reply Last reply
                  0
                  • B Offline
                    B Offline
                    blueshift
                    wrote on 21 Sept 2013, 18:16 last edited by
                    #9

                    [quote author="freshman" date="1379752023"]Now, i have developed a little app to scan RSSI running in Linux system. I used the wireless tools in the app. So, can i transplant the little app to android system without any change of the wireless tools? I mean , can i use wireless tools lib for a android apk?[/quote]

                    I assume you used the wireless tools which are already installed in your Linux system and using it in your application through its library and header files.
                    For Android, you will need to compile that wireless tools lib for Android and then include its header in your app.
                    OR check if Android SDK itself has that utility/function to scan the WiFi strength.

                    1 Reply Last reply
                    0
                    • ? Offline
                      ? Offline
                      A Former User
                      wrote on 24 Sept 2013, 12:04 last edited by
                      #10

                      [quote author="blueshift" date="1379787407"][quote author="freshman" date="1379752023"]Now, i have developed a little app to scan RSSI running in Linux system. I used the wireless tools in the app. So, can i transplant the little app to android system without any change of the wireless tools? I mean , can i use wireless tools lib for a android apk?[/quote]

                      I assume you used the wireless tools which are already installed in your Linux system and using it in your application through its library and header files.
                      For Android, you will need to compile that wireless tools lib for Android and then include its header in your app.
                      OR check if Android SDK itself has that utility/function to scan the WiFi strength.

                      [/quote]

                      Hi blueshift,

                      Did you ever tried to build a Qt project with third party libraries in Android. I was trying to build one of my project which contains 3rd party libraries.

                      Ansif

                      1 Reply Last reply
                      0
                      • P Offline
                        P Offline
                        praveen0991kr
                        wrote on 31 Jul 2014, 09:19 last edited by
                        #11

                        hello All ,
                        Pls need help if any one have made application on Wifi to scan or receive / sent data pls send to me @ praveen0991kr@gmail.com I will be very thankful to you ...
                        @fresherman ; Ansif ;

                        Thanks

                        Praveen

                        1 Reply Last reply
                        0
                        • ? Offline
                          ? Offline
                          A Former User
                          wrote on 7 Aug 2014, 10:08 last edited by
                          #12

                          [quote author="praveen0991kr" date="1406798375"]hello All ,
                          Pls need help if any one have made application on Wifi to scan or receive / sent data pls send to me @ praveen0991kr@gmail.com I will be very thankful to you ...
                          @fresherman ; Ansif ;

                          Thanks

                          Praveen[/quote]

                          Hello Praveen,

                          Did you find the solution. Did the links send to your mail was helpfull.
                          Regards
                          Ansif

                          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