B4X FEED Exoplayer unexpected loader exception

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Exoplayer unexpected loader exception است. این موضوع تا کنون 58 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Exoplayer unexpected loader exception
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
58
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
I am using Exoplayer in a new project to play audio and video files.
In the detail page I have put a button to play the file. The content string comes from a database field that was filled earlier using the content chooser.
When i press the play button i catch the Permission Denial error in the Exoplayer error event.
On the same detail page i have placed another button to start the content chooser. I press that button.
In the content chooser i tap on the same file.
Back in the detail page i check the filename again and it is the same string. Only now the exoplayer is ready to play.
I press the play button again and the exoplayer plays the file.
What does the content chooser do more that i don't do in the first instance?
Or in other words: how can i obtain access to the file?

Log details:
*** detail: B4XPage_Created [mainpage]
*** mainpage: B4XPage_Disappear [mainpage]
*** detail: B4XPage_Appear [mainpage]
content://com.android.providers.media.documents/document/audio%3A1624
Error...



 

عقب
بالا