dimanche 6 novembre 2016

How to get app control extra data from app control which made by web application in native?

I want to launch native application with data by app_control in web application. I can't find get app control extra data in my native application. I already tried to use 'app_control_get_extra_data', 'app_control_foreach_extra_data'.

Let me know how to get extra data from web application's app control.

In my web application,

    // Define the data structure describing application control details
    var appControl = new tizen.ApplicationControl(
                   "http://ift.tt/2eeg5lL",
                   null,
                   null,
                   null,
                   [new tizen.ApplicationControlData("key",
                                                     ["data1", "data2"])] );

    // Launch an application with the specified application control
    tizen.application.launchAppControl(
            appControl,
            "net.msalt.myApplicationAppID",
            successCallback,
            errorCallback,
            appControlReplyCallback
        );

Thanks.




Aucun commentaire:

Enregistrer un commentaire