Category : android-music-player

This is my main Activity. Here I generate a list of songs available in my device and the list is working perfectly. Once the item in the list is clicked it crashes. The MediaPlayer inbuilt in the android is used here. MainActivity extends AppCompatActivity { private ArrayList<SongModel> songList; private ListView songView; public static final int ..

Read more

This is my main Activity. Here I generate a list of songs available in my device and the list is working perfectly. Once the item in the list is clicked it crashes. The MediaPlayer inbuilt in the android is used here. MainActivity extends AppCompatActivity { private ArrayList<SongModel> songList; private ListView songView; public static final int ..

Read more

i build a music player app in android studio.but when i click play music in main activity from listview to playactivity but apps will crushednd.this is my code for play song main activity to playerActivity show some error message in logcat : 2021-11-24 01:18:32.711 12148-12148/? I/xample.shplaye: Late-enabling -Xcheck:jni 2021-11-24 01:18:32.711 12148-12148/? I/xample.shplaye: Late-enabling -Xcheck:jni 2021-11-24 ..

Read more

I am making a music player and I found this tutorial on youtube: https://www.youtube.com/watch?v=zHRmlzDqE30 Source code that I copied: https://docs.google.com/document/d/1ug7xsIDWGjZC7_HkOcfqFd1zozHaRI4V/edit There are some errors that I can’t solve after copying the source code. Can anyone know what should I do? Here are the errors: Cannot resolve method ‘sendMessage’ in ‘Handler’ Class ‘Anonymous class derived from ..

Read more