[Tizen Application-dev] How to use TIZEN appservice?
xiang.long at intel.com
Fri Nov 9 08:55:20 GMT 2012
You can refer to below links for some details:
If an explicit service id specified in tizen.application.launchService() or there is only one service matches the operation&uri&mime of ApplicationService then the corresponding service will be launched automatically, otherwise an user selection UI will be prompted.
The UI has a something like "save as default" option to save user preference, user can also clear the default setting in "Settings"->"Manage applications".
From: application-dev-bounces at lists.tizen.org [mailto:application-dev-bounces at lists.tizen.org] On Behalf Of Fan, Yugang
Sent: Wednesday, November 07, 2012 9:50 AM
To: application-dev at lists.tizen.org; general at lists.tizen.org
Subject: [Tizen Application-dev] How to use TIZEN appservice?
I want to use "<tizen:appservice />" element of https://developer.tizen.org/documentation Tizen Web App Programming > Application Development Process > Setting Widget Configuration > editing the TIZEN to dry run the appservice functions, but I not sure what is the expected scenario? for example, my understanding is:
1. Install a app-1 which include a config.xml:
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/aa3" version="1.0" viewmodes="fullscreen">
<tizen:application id="KDwIsHEiBq" required_version="1.0"/>
<tizen:setting screen-orientation="landscape" contextmenu="enable"/>
<tizen:appservice src="view.html" operation="http://tizen.org/appcontrol/operation/view" mime="image/jpg"/>
2. Launch a app-2 which has a jpg image on web UI.
3. Click the jpg image of the app-2, after that, the web runtime will launch the app-1's view.html page to view the jpg image.
Is above scenario right?
A. If wrong, Anyone can help to clarify what is the right scenario? The more detail the better & thanks
B. If right, how does WRT manage the apps when there are more than one app has the same appservice operation(mime)?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Application-dev