- تاریخ ثبتنام
- 2020-06-06
- ارسالیها
- 2,943
- راهحلها
- 1
- پسندها
- 153
- امتیازها
- 63
- مدالها
- 7
- نویسنده موضوع
- مدیرکل
- #1
I have never created a service type app before and was wondering if someone had a sample I could follow.
What I am trying to achieve.
I have an app GridConnect that monitors a reed switch sensor in my smart home system.
When the Garage door opens I get a notification
When it closes I get another notification
I want to write an app that deletes the notifications (I can turn them off but that would defeat the purpose), starts a timer when the door open notification is received and if the door closed notification is not received within say 5 minutes it alerts me somehow.
What I am trying to achieve.
I have an app GridConnect that monitors a reed switch sensor in my smart home system.
When the Garage door opens I get a notification
When it closes I get another notification
I want to write an app that deletes the notifications (I can turn them off but that would defeat the purpose), starts a timer when the door open notification is received and if the door closed notification is not received within say 5 minutes it alerts me somehow.
نام موضوع : Help wanted using notification listener and creating a service
|
دسته : b4xfeed