Android:Music Player,Unable to start service with null point exception?
问题 There were no errors until i added broadcast receiver for showing the progress of the seekbar.The app was working fine before. Code for the activity. package source.justanothermusicplayer; import java.io.Serializable; import java.util.ArrayList; import source.justanothermusicplayer.classes.SongDetails; import source.justanothermusicplayer.service.Music_service; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent;