Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Can QT access the native users' photo and audio libraries?

Can QT access the native users' photo and audio libraries?

Scheduled Pinned Locked Moved General and Desktop
7 Posts 2 Posters 2.1k 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.
  • YkarhusY Offline
    YkarhusY Offline
    Ykarhus
    wrote on last edited by
    #1

    Hi there, good afternoon.

    Can you guys tell me if QT can provide native access to the user's photo and audio library?

    I'd like to make that to be able to access the user's photos and manipulate it to use on a memory match game!

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

      Hi and welcome to devnet,

      What platform do you have in mind ?

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

      YkarhusY 1 Reply Last reply
      0
      • YkarhusY Offline
        YkarhusY Offline
        Ykarhus
        wrote on last edited by
        #3

        Hi, thanks!

        I'm talking about Android and iOS! Maybe, later, Windows Phone!
        What do you say?

        Thanks!

        1 Reply Last reply
        0
        • SGaistS SGaist

          Hi and welcome to devnet,

          What platform do you have in mind ?

          YkarhusY Offline
          YkarhusY Offline
          Ykarhus
          wrote on last edited by
          #4

          @SGaist Is the book "Game Programming Using QT" a good choice to start making mobile games using QT? I just got this book and I'm willing to start reading it already. What do you say? Thanks again!

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

            I don't know the book itself but the authors are good programmers so go for it.

            For iOS you can get the picker for the photo gallery through QFileDialog. For Android you'll have to use QtAndroidExtras and it's JNI classes.

            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
            • YkarhusY Offline
              YkarhusY Offline
              Ykarhus
              wrote on last edited by
              #6

              Thank you so much! I looked in the book and there's nothing about JNI classes but I'll look after it! What do you recommend for someone, like me, who just want to use QT to program mobile games (most of them for Android)? Thanks again!! :-)

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

                Take a look at the QtAndroidExtras module documentation, you'll see there how to integrate JNI code inside yours.

                On a side note, it's Qt. QT stands for Apple QuickTime which you might also be interested in.

                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

                • Login

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