Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
PHPスクリプトを介してデータベース操作を実行する必要があるAndroidプロジェクトを作成しています。通常は動作していますが、データベース操作のスケジュールを作成するなど、特定の日時にPHPスクリプトを実行したいです。これは可能ですか?
AlarmManager クラスと簡単なコードで実現できます。
Date dateobj = new Date(Year, month, day, hour, min); AlarmManager.set(AlarmManager.RTC_WAKEUP, dateobj.getTime(), pendingIntent);