My music player works perfectly on my old Galaxy but fails on the Galaxy 10.
Lists albums and tracks OK, but selecting a track to play bombs out with instruction MP1.Load(path1, NewFile)
path1 = /storage/emulated/0/Music/Acker Bilk/Stranger on the Shore
Newfile = Hey Jude.mp3
Error is java.lang.NullPointerException: Attempt to invoke virtual method 'void android.media.MediaPlayer.reset()' on a null object reference
Please help,
Lists albums and tracks OK, but selecting a track to play bombs out with instruction MP1.Load(path1, NewFile)
path1 = /storage/emulated/0/Music/Acker Bilk/Stranger on the Shore
Newfile = Hey Jude.mp3
Error is java.lang.NullPointerException: Attempt to invoke virtual method 'void android.media.MediaPlayer.reset()' on a null object reference
Please help,