Background Services in Mono for Android: Listing 1
The MusicService class.
- By Greg Shackles
- 07/10/2012
[Service]
public class MusicService : Service
{
public const string PlayCommand = "Play";
public const string StopCommand = "Stop";
public const string CommandExtraName = "Command";
private const int MusicPlayingNotification = 1;
private MediaPlayer _player;
public override IBinder OnBind(Intent intent)
{
return null;
}
}