在我的應用程序中,我需要發送通知的時間是1周,或者是用戶在應用程序中執行了一些操作後的1個月內發送的通知...它與此類BroadcastReceiver一起工作>> public void startMyReceiver() {
Long time = new GregorianCalendar().getTimeInMillis() + 1000 * 60 * 60 * 24 * 30
我在提醒應用程序,但我得不到解決方法setLatestEventInfo方法。 public class NotifyService extends Service {
public class ServiceBinder extends Binder {
NotifyService getService() {
return NotifyService.th
我期待爲Android應用程序創建一個函數,在該應用程序中,每月的第25天我會收到通知,指示我必須執行某個任務。 我已經能夠使用下面的代碼顯示通知: public class NotificationPublisher extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent int