Assalam o Alaikum Friends in this tutorial i will show you how to create Music Player Application using Android Studio.
In this application we Read Songs/Music from Phone Memory and show into List View .

Also we create a Professional Looking Music Player User-interface for our app .. so enjoy this video and learn more.

Runtime Permission Dexter Library

Music Player Complete Source Code

Music Player Playlist
Part 1 :
Part 2:
Part 3:

Youtube

Facebook

If You like my video Don’t forget to Subscribe my Channel

If you face any problem feel free to ask me

Nguồn: https://u-os.org

Xem thêm bài viết khác: https://u-os.org/cong-nghe

Author

31 Comments

  1. hello sir is application mein 1 ke baad 1 music lagatar play nahi ho ra hey please solve it. i request you

  2. Hello sir this permission only read external storage.but not read internal storage. please give internal storage permission.

  3. Tahira Ghaffar Reply

    On running app stops and error occuring is " java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.musicplayer/com.example.musicplayer.MainActivity}: java.lang.NullPointerException: Attempt to get length of null array "
    Someone can help me with this…..I've tried every possible thing to resolve this error

  4. Sandeep kumar Sharma Reply

    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.myapplication/com.example.myapplication.PlayActivity}: java.lang.IllegalAccessException: java.lang.Class<com.example.myapplication.PlayActivity> is not accessible from java.lang.Class<android.app.AppComponentFactory>
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2876)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3081)
    at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
    at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
    at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1831)
    at android.os.Handler.dispatchMessage(Handler.java:106)
    at android.os.Looper.loop(Looper.java:201)
    at android.app.ActivityThread.main(ActivityThread.java:6810)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
    Caused by: java.lang.IllegalAccessException: java.lang.Class<com.example.myapplication.PlayActivity> is not accessible from java.lang.Class<android.app.AppComponentFactory>
    at java.lang.Class.newInstance(Native Method)
    at android.app.AppComponentFactory.instantiateActivity(AppComponentFactory.java:69)
    at androidx.core.app.CoreComponentFactory.instantiateActivity(CoreComponentFactory.java:41)
    at android.app.Instrumentation.newActivity(Instrumentation.java:1216)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2864)
    … 11 more

  5. Sandeep kumar Sharma Reply

    Bhai song to read ho ja rahi hai.. but player activity perform nahi ho raha…
    Error come.. handler and so on

  6. edi sakhnovich Reply

    How can I show the song titles, that online radio app, I developed, plays?

  7. Priyanka Mali Reply

    App run ho gyi bt song play nahi ho rha hai soo kaise solve kre please reply

  8. اشرف نصر Reply

    java.lang.IllegalStateException

    at android.media.MediaPlayer.getCurrentPosition(Native Method) can you help me with this problem, please ?

  9. AndroidAcademy Reply

    getExternalStorageDirectory is depreciated ?? Kaise remove kree

  10. SAYAN BANDYOPADHYAY Reply

    I have a Problem. In 8:10 , you used alignbottom , but when I am trying to use it , Android studio is saying it's undefined attribute

  11. Allow Fun's Reply

    song pr click krne ke baat song to chl rhe hai but music player has stoped aa rha hai

  12. Ashwani Kumar Reply

    Environment.getExternalStorageDirectory() method returning only internal storage directories..

    but i want to get all the files from the both directories ,

    how to get all the files from the external directories and internal directories too?

  13. Android Resource Linking Failed ye bata rha he plz help me what to do now

  14. Akshay Arora Reply

    bro please ek video or bnao jisme seekbar per tooltip ya toast show ho jo song ki duration show kare or ek song ko repeat ki process bhi sath m ho
    please bro

  15. hi men is good video!, i have a problem at implement recyclerview reproductor list, Can I help me?

  16. Ji mere app ke install ke bad do icon ban rahe h or install se pahale koi security jesa massage aa raha h

  17. Rajat Thakur Reply

    bro song pr click krne ke baat song to chl rhe hai but music player has stoped aa rha hai

  18. Nguyen Tien Dung - FAIC HN Reply

    please ad add function sub for video i don't understance

  19. sir earning app banana or spin wala app banna sikhao plz paytm jaisa muje ek aap banwana tha

Write A Comment