Can QT access the native users' photo and audio libraries?
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!
Hi and welcome to devnet,
What platform do you have in mind ?
I'm talking about Android and iOS! Maybe, later, Windows Phone!
What do you say?
@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!
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.
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!! :-)
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.