Android mp3 cross class
<p>I am trying to play an mp3 sound using the MediaPlayer class inside a regular class, which means non Activity, Service or other. My problem is probably initializing the MediaPlayer object since I have no Context in a non Activity class. How is this solvable?</p>
