언어 설정

Menu
Sites
Language
Notfications

Hi , 

I am new to Tizen developement and I wanted to test the notification function .

The notification appears on the top but neither the icon nor the sound gets played , although i pushed the mp3 file into the emulator and in the media folder.

This is some of my code 

var notificationDict = {

                      content : "Welcome to SmarTest.",

                      iconPath : "music/images/icon5.png",

                      soundPath : "opt/usr/media/music.mp3", 

                      vibration : true, 

                      appControl : appControl};

           

          var notification = new tizen.StatusNotification("SIMPLE", 

                      "SmarTest", notificationDict);

Please Help .

Thank you.

Responses

2 댓글
AVSukhov

Hello,

 

This article helps you:

https://developer.tizen.org/forums/web-application-development/notification-ressources

Ahmed Drira

It works now , thank you