语言

Menu
Sites
Language
Launching Seller page from Unity app using Appcontrol

Hi,

I there a way to launch seller page of Tizen store from unity app?

编辑者为: Anup 26 1月, 2016
查看选择的答案

响应

4 回复
David Rogers

Yes, Use Application.OpenURL(). Note: This is new functionality in 5.3.1p3.

Anup

Hi,

Thanks for the reply. I think  "Application.OpenURL()" is used for opening a URL in default browser.

But i want to launch the seller page in native tizen store app.

This is acheived in EFL like this.

            ret = app_control_create(&service);
            ret = app_control_set_app_id(service, "org.tizen.tizenstore");
            ret = app_control_set_uri(service, "tizenstore://SellerApps/npbkp56***");
            ret = app_control_set_operation(service, APP_CONTROL_OPERATION_VIEW);
            ret = app_control_send_launch_request(service, NULL, NULL)

Is there is a way to acheive this in Unity?

I think some plugin is required for appcontrol, just like the plugin for IAP.

Mark as answer
David Rogers

You are correct that it is typically used to open pages in a browser. However other types of URIs are also handled such as mailto://

In 5.3.1p3 we added support for tizenstore URIs so you could call Application.OpenURL("tizenstore://SellerApps/npbkp56***") to open your applications page in the store app.

Anup

Thanks David, it works perfectly in 5.3.1p3.