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.
インターネットからxmlファイルを読み取るアプリがあります。このファイルをリッスンし、サーバー側でコンテンツが変更されたときにユーザーに通知する方法は? ユーザーが更新を押す必要がないようにします。
AlarmManagerクラスとsetRepeatingメソッドを使用してみてください。 xml ファイルを読み取るための繰り返しアクションを作成するのに役立ちます。これを見る
AlarmManager
setRepeating