[Tizen Application-dev] How to use TIZEN appservice?

Fan, Yugang yugang.fan at intel.com
Mon Nov 12 09:27:58 GMT 2012


Xiang,

Thanks for your links and explanation, I could launch system base applications service successfully now by your method, will try the web app service soon.

Best regards,
Yugang

From: Long, Xiang
Sent: Friday, November 09, 2012 4:55 PM
To: Fan, Yugang; application-dev at lists.tizen.org; general at lists.tizen.org
Subject: RE: How to use TIZEN appservice?

You can refer to below links for some details:
https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.web.device.apireference%2Ftizen%2Fapplication.html
https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.web.appprogramming%2FApplication+Service.html

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".

Regards,
Xiang

From: application-dev-bounces at lists.tizen.org<mailto: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<mailto:application-dev at lists.tizen.org>; general at lists.tizen.org<mailto:general at lists.tizen.org>
Subject: [Tizen Application-dev] How to use TIZEN appservice?

Hi, All

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">

<icon src="icon.png"/>

<content src="index.html"/>

<name>aa3</name>

<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"/>

</widget>

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)?


Best regards,
Yugang

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tizen.org/pipermail/application-dev/attachments/20121112/cbfdc4ed/attachment.html>


More information about the Application-dev mailing list