I am wondering the difference between Service Class and Class without Activity. // My Class to play Media
Class MyMediaPlayer{
private Context mContext;
//Contructor
public MyMediaPlayer(Context ct)
{
mContext = ct;
}
public void onCreate() {....code...}
public void onStart() {....code...}
public void onDestroy() {....code....}
}
The way of using is very similar to Service Class for Media.
Thanks you very much