qt qml load assets from apk in android devices
-
I am making an apk for android devices the problem is that I manage to put the assets in the apk, that is to say open it with a winrar and see the files in the assets folder the thing is that I put a photo and a video but from mediaplayer I cannot load the video from the assets but the image perfectly. Do I have any way to load the assets to mediaplayer without having to copy to memory
-
I need a way to read videos from the Android APK's assets folder without having to copy them to the SD card or phone. If there are a few videos, they would take up storage space in both the app and the phone. When extracting the entire .media player file, Qt QML doesn't recognize the path assets:/videos/video.mp4.
-
Hi,
You should add which version of Qt you are using.
-
If I use image{source: "assets:/image1.jpg"} it works, but mediaplayer source:"assets:/video.mp4" does not
@jchaviano I have met exact the same issue, the error string I got from "Video qml" onErrorStringChanged, is "I/O operation failed". I am using Android 11 and Qt5.15. Have you resolved the issue?
