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

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -