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; [email protected]; [email protected]
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: 
[email protected]<mailto:[email protected]>
 [mailto:[email protected]] On Behalf Of Fan, Yugang
Sent: Wednesday, November 07, 2012 9:50 AM
To: [email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>
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

_______________________________________________
General mailing list
[email protected]
https://lists.tizen.org/listinfo/general

Reply via email to