<label>CoreNotificationTest</label>
<author email="mymail@tizentest.com" href="www.tizentest.com">test</author>
<description>Native API test Application</description>
- <ui-application appid="native.notification-itc" exec="/usr/apps/native-notification-itc/bin/tct-notification-native" nodisplay="false" multiple="false" type="capp" taskmanage="true">
+ <service-application appid="native.notification-itc" exec="/usr/apps/native-notification-itc/bin/tct-notification-native" nodisplay="false" multiple="false" type="capp" taskmanage="true">
<background-category value="background-network"/>
<background-category value="download"/>
<background-category value="iot-communication"/>
<background-category value="location"/>
<background-category value="media"/>
<background-category value="sensor"/>
- </ui-application>
+ </service-application>
<privileges>
<privilege>http://tizen.org/privilege/notification</privilege>
<privilege>http://tizen.org/privilege/appmanager.launch</privilege>
#include <glib.h>
#include <stdbool.h>
-#include <app.h>
+#include <service_app.h>
#include <dlog.h>
#include <sys/socket.h>
{
int ret = 0;
- ui_app_lifecycle_callback_s event_callback = {0,};
+ service_app_lifecycle_callback_s event_callback = {0,};
event_callback.create = app_create;
event_callback.terminate = app_terminate;
event_callback.app_control = app_control;
dlog_print(DLOG_INFO, "NativeTCT", "[%s:%d] Coverage *.gcda File location set to /tmp/home/abuild/rpmbuild/BUILD/ ", __FUNCTION__, __LINE__);
dlog_print(DLOG_INFO, "NativeTCT", "[%s:%d] Application Main Function is Invoked", __FUNCTION__, __LINE__);
- ret = ui_app_main(argc, argv, &event_callback, NULL);
+ ret = service_app_main(argc, argv, &event_callback, NULL);
if (ret != APP_ERROR_NONE)
{
dlog_print(DLOG_ERROR, "NativeTCT", "Application ui_app_main call gets failed. err = %d", ret);