startPlaying

public final static Boolean startPlaying(Context context, Song song)

Uses the mediaPlayer to start playing a song. It then also outputs if this action was successfully or not.

Return

true if successful, else false

Parameters

context

Context of the app

song

Song to be played