Languages

Menu
Sites
Language
In Wearable's 3rd party App, can received Rich notification Data?

I would like to send the data to Wearable 3rd party App' from Host App using Rich Notification.
Is it possible??

According to the 4.9.3 in ProgramingGuide_RichNotificaiton.pdf provided for Rich Notification, it looks like to be possible.

myAction.setData(Uri.parse("checkin://venue_id=12345"));

I'm wondering how to get the above uri by javascript in Tizen wearable.

Responses

4 Replies
daniel kim

Hi,

It seems that Rich notification use Launch() of Tizen when it lauch Gear application using SrnRemoteLaunchAction().

and I could see nothing in my case even if I performed getRequestedAppControl() inside of Gear application.

 

     var reqAppControl = tizen.application.getCurrentApplication().getRequestedAppControl();
          if (reqAppControl) {
               var reqData = reqAppControl.appControl.data;
               console.log("App ctrl Key: " + reqData[0].key+" Data:"+reqData[0].value);
      }
 

I wish this will help you.

AVSukhov

Hello,

Try to verify, maybe some appControl launch you app and you can get ApplicationControlData using:

getRequestedAppControl();

method.

AVSukhov

Or you can get AppControl interface fom getRequestedAppControl() and extract Uri with data.

in theory, if Remote Launch Actions launch your app it use "Explicit Launch" and you can get this app control.

More info you can find in:

https://developer.tizen.org/dev-guide/2.3.0/org.tizen.web.apireference/html/device_api/mobile/tizen/application.html

KYOUNGTAE KIM

Thanks for your regards