Hi, I would like to open the rating page on the Galaxy Store from my .NET Tizen watch app. I want to implement the dialog “Please, give us 5 star review” that would be displayed on the watch, and it would lead to the store.
I found that I can use the AppControl class and pass the application ID:
AppControl.SendLaunchRequest(
new AppControl
{
Operation = AppControlOperations.View,
ApplicationId = "com.samsung.gearstore",
Uri = Constants.AppID,
LaunchMode = AppControlLaunchMode.Single
}, (launchRequest, replyRequest, result) => { });
With this privilege
<privilege>http://tizen.org/privilege/application.launch</privilege>
This works both on Gear S3 with Tizen 4.0, as well as the newer Galaxy Active watch. But it opens only a simplified version of the store - there is no rating button! It’s a different UI than if I open the store app manually and search for the app.
How this can be done? Can I pass a different parameter to open the correct ratings page?
Hello ~,
Good point. I’ve tried out the stuff after checking your post.
You are talking about the ‘Galaxy Store’ App on Galaxy Watch, right?
I’ve reproduced the scenario and it seems the ‘Rate App’ button is missing while launching the app details page on galaxy store via appControl.
Good feedback, there should be a way to redirect the consumers to rate the app right away.
1 Like
Hi @Armaan-Ul-Islam, yes, I want to open the Galaxy Store app on a Galaxy Watch.
So, is there any way? You should probably update this guide: https://developer.tizen.org/ko/community/tip-tech/linking-your-application?langredirect=1 The org.tizen.tizenstore is not available on the watch anymore, there is just com.samsung.gearstore and the launch parameters seems to be different.
What other options do I have, implementing a web browser on the watch and opening a link? Opening the website on a connected phone?
Hello, @Armaan-Ul-Islam, do you have any tips how to fix it? How can I open the rating page from the Samsung watch?
There was a new article published on the Galaxy Store, but it seems to be applicable only for Android phone apps, not for Tizen apps. Or how can I open this URI from the Tizen app?
- https://apps.samsung.com/appquery/AppRating.as?appId=
- samsungapps://AppRating/
In case Tizen probably you have to use URI samsungapps://AppRating/app_id and call it by Tizen Controls system with id “com.samsung.w-manager-service”.
Here you have working example https://developer.tizen.org/ko/forums/web-application-development/wearable-send-intent-phone?langswitch=ko
I am going to check it soon so I let you know.
Thanks. This code seems to work when the watch is connected to Samsung phone:
var app = new AppControl
{
Operation = AppControlOperations.Default,
ApplicationId = "com.samsung.w-manager-service",
LaunchMode = AppControlLaunchMode.Single
};
app.ExtraData.Add("msgId", "mgr_install_host_app_req");
app.ExtraData.Add("type", "phone");
app.ExtraData.Add("deeplink", "samsungapps://AppRating/" + Constants.AppID);
AppControl.SendLaunchRequest(app, (launchRequest, replyRequest, result) => { });
When it’s connected to Sony Android phone, it just displays the message that the window cannot be opened. Also with connected to iPhone or in standalone mode it will probably not work.
Can I open the store directly on the watch? Or how can I detect that the connected phone is a Samsung phone?
If your watch is paired with a phone it should open Galaxy Store app no matter what phone type it is. However, I didn’t check on iPhone.
In watch’ settings there is simple App store app with selected apps and categories. Probably you can open this app if you know app-id. Unfortunately, I don’t know the package name. There is simple api to list all packages installed on the watch and try to find this package or review Tizen source.
There is no api to check if watch is connected to phone but I am not sure about last Tizen 5.x. However, there is some workaround. You can check type of network your watch is connected with. When watch is connected with a phone by Bluetooth you should get result ETHERNET. Web API: https://developer.tizen.org/development/api-references/web-application?redirect=https://developer.tizen.org/dev-guide/5.5.0/org.tizen.web.apireference/html/device_api/mobile/tizen/systeminfo.html
Hello All,
++ @mai1588157995, @andrzej_bugajny
We have communicated with the ‘Galaxy Store: Tizen Application’ team about this requirement. They have taken this requirement into consideration. Hopefully, we can expect this offering for developers in the future with the ‘Galaxy Store: Tizen App’ update/Device Software update. Don’t have the specific timeline/roadmap yet. Will post updates here, expecting your patience.
And thank you for the feedback. Best Regards,
Armaan-Ul-Islam
Samsung Developer Program
Thanks @Armaan-Ul-Islam. That’s a good news and waiting for finish the job.