我知道这是一个基本的问题,我对android服务很陌生。我在谷歌和StackOverflow上做过研究。public class Service extends android.app.Service {
Log.e("Tag", "Success");
Toast.makeText(getApplicationContext(), "
alarmManager = (AlarmManager) MainActivity.this public class NotificationService extends Service {NotificationManager) this.getApplicationContext().getSystemService(this.getApplicati