我正在尝试从同一个班级的警报管理器中获得一种方法。好吧,在我的服务类中,我有这个方法:
new loadSomeStuff().execute();
如何使用警报管理器在 3 小时后启动它?
public class MyIntentService extends Service {
SharedPreferences prefs;
public static String prefName = "SecretFile";
public static String version = "56";
public final static int uniqueID = 1394885;
public void onCreate() {
super.onCreate();
//i want after the alarm manager stop to launch this method.
new loadSomeStuff().execute();
}