How to use NotifyByAppControl api

How to use NotifyByAppControl api

BY 04 Sep 2013 Native Application Development
Hi,
 
I am developing a native application in which I am using  Tizen::Shell::NotificationManager api.
 
I want to use NotifyByAppControl api.
 
 
Objective -: I have a UI application and one service application.When the UI application is not running ,service application runs and hits one api call.Based on the response  of that api ,I want service application to Notify UI application.If the user taps the notification, I want to launch Ui application and at the same time a callback function inside UI application should get invoked.
 
For that, I have implemented  IAppControlProviderEventListener interface inside UI app class( the class which gets derived from Tizen::App::UiApp). 
 
Please explain me following things:
 
1>What are the 4 arguments that I need to pass to NotifyByAppControl .
2>Accordingly ,how should I configure manifest file of UI application.
 
Also let me know if there is anything extra I need to do.
Written by