Details
-
Technical task
-
Resolution: Duplicate
-
P2: Important
-
None
-
None
-
None
-
2021wk38POAndroid&Mobile, 2021wk40POAndroid&Mobile, 2021wk42POAndroid&Mobile, 2021wk44POAndroid&Mobile, 2021wk46POAndroid&Mobile, 2022wk24FOQtforAndroid, 2022wk28FOQtforAndroid, 2022wk30FOQtforAndroid, 2022wk34FOQtforAndroid, 2022wk36FOQtforAndroid, 2022wk38FOQtforAndroid, 2022wk40FOQtforAndroid, 2022wk42FOQtforAndroid, 2022wk44FOQtforAndroid
Description
The widgets example audio recorder doesn't work when using "Output" button to set a save file name, then there is an an error
Unable to prepare the media recorder. W mediarecorder: : No default input device was set W mediarecorder: : No default input device was set W System.err: java.io.FileNotFoundException: /storage/emulated/0/Sounds/content:/com.android.providers.downloads.documents/document/118.m4a: open failed: ENOENT (No such file or directory) W System.err: at libcore.io.IoBridge.open(IoBridge.java:492) W System.err: at java.io.RandomAccessFile.<init>(RandomAccessFile.java:289) W System.err: at java.io.RandomAccessFile.<init>(RandomAccessFile.java:152) W System.err: at android.media.MediaRecorder.prepare(MediaRecorder.java:1091) W System.err: at org.qtproject.qt.android.QtNative.startQtApplication(Native Method) W System.err: at org.qtproject.qt.android.QtNative$7.run(QtNative.java:633) W System.err: at org.qtproject.qt.android.QtThread$1.run(QtThread.java:61) W System.err: at java.lang.Thread.run(Thread.java:923) W System.err: Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory) W System.err: at libcore.io.Linux.open(Native Method) W System.err: at libcore.io.ForwardingOs.open(ForwardingOs.java:166) W System.err: at libcore.io.BlockGuardOs.open(BlockGuardOs.java:254) W System.err: at libcore.io.ForwardingOs.open(ForwardingOs.java:166) W System.err: at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7550) W System.err: at libcore.io.IoBridge.open(IoBridge.java:478) W System.err: ... 7 more
Attachments
Issue Links
- is duplicated by
-
QTBUG-96957 Created output file is in inncorrect type and in different location
- Closed
For Gerrit Dashboard: QTBUG-96081 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
379584,4 | Android: simplifications to exception messages for content file handling | dev | qt/qtbase | Status: MERGED | +2 | 0 |
379585,3 | Android: add methods to get the FileDescriptor for a Uri | dev | qt/qtbase | Status: MERGED | +2 | 0 |
384535,2 | Android: simplifications to exception messages for content file handling | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |
384536,2 | Android: add methods to get the FileDescriptor for a Uri | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |