언어 설정

Menu
Sites
Language
How to trigger notification at a perticular time.

Hi,

I want to know how to trigger a notification at a perticular time of the day.

I know how to trigger a notification but i dont know how to trigger it automatically at some time.

Thanks.

답변 바로가기

Responses

6 댓글
Alex Ashirov

Hi,

It seems that you need Ecore Timer. Please take a look at article below for description and sample code:

https://developer.tizen.org/dev-guide/2.3.0/org.tizen.mobile.native.appprogramming/html/guide/ui/main_loop_guide.htm

Anup

Hi,

Using timer we can tigger a callback after a certain amount of time.

But i want to trigger it at a perticular time, like at 2:00PM.

I have a service application, i want to be able to show notification to user at certain times of the day.

Mark as answer
Alex Ashirov

Hi,

Probably Alarm API can be helpful in this case.

Alex Dem

Hi,
Just fyi, regarding alarm:
https://developer.tizen.org/dev-guide/2.3.0/org.tizen.mobile.native.appprogramming/html/tutorials/app_tutorial/alarm_tutorial.htm
Alexey.

Anup

Thanks for the help.

Alarm will do the job.

Daniel Juyung Seo

Yes Alarm API will do the job.

ecore_timer is valid for a running process only.

It will be gone if the process is dead.