I am trying to create a simple Android application to play audio files from an SD card.I have some problems understanding the Service. I will be specific, here are my questions.
MediaPlayer
IBinder
Please explain this topic. I would appreciate any help. Thanks.
, Android MediaPlayer, , . , , . MediaPlayer , prepare. , prepareAsync, .
prepare
prepareAsync
MediaPlayer , .
MediaPlayer . , , Looper ( ). a MediaPlayer async.
Looper
, ANR start ( ). .
start
Source: https://habr.com/ru/post/1627583/More articles:Is there a way to make HTML code independent of changes to CSS class names? - htmlhow to call AJAX function in anchor tag - javascriptAndroid NDK screen orientation - androidProgrammatic listing and connection to WIFI networks in Windows IoT Core - c #How to import a package from a subdirectory into Golang? - goConnect to Wi-Fi using Python on Raspberry Pi - pythonError with inheritance and TypeScript: X is not a type of constructor function - javascriptЛистинг и подключение WiFi с использованием WinRt - windows-8Having problems updating a document that is retrieved using the Mongoose model and processed as a promise - javascriptUnknown column in the field. Django - pythonAll Articles