SQL query every 30 minutes triggers Android notification -


i have webview application connecting clients mobile friendly website. admins, have functionality run sql query (that have) every 30 minutes. if returns true want notification triggered.

i have done research , have downloaded jdbc driver connect mssql database.

i know best way have app run query every 30 minutes , conditionally trigger notification.

any tips or appreciated. please let me know if duplicate, did search before posting.

tbg

use alarmmanager allows schedule application run @ point in future, in case every 30 minutes. make sure run heavy query in background using asynctask or that.

check learn more alarmmanager https://developer.android.com/training/scheduling/alarms.html , how use it.


Comments

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -