Title: Samsung Enterprise Portal mySingle
Hello Baptiste,
I'll share some information about the 'service'.
In case of using 'service', One package can have two application now. one of them is ui-app and another is svr-app.
The 'service' was introduced in WRT Core Spec 2.3 (https://source.tizen.org/sites/default/files/page/tizen-2.3-wrt-core-spec.pdf),
In Tizen 2.3, wrt-installer generates a single manifest file including ui-app and svc-app from config.xml.
these application has same package-id, but application-id of each application is different.
In addition, these applications in same package can share resources in widget package.
In my opinion,
/home/<user>/apps_rw/<pkg_id>/manifest.xml
/home/<user>/apps_rw/<pkg_id>/icon.png
/home/<user>/apps_rw/<pkg_id>/bin/<app1_binary> --> /usr/bin/xwalk-launcher
/home/<user>/apps_rw/<pkg_id>/bin/<app2_binary> --> /usr/bin/wrt-service (TBD)
/home/<user>/apps_rw/<pkg_id>/...
Thank you.
WonYoung Choi
------- Original Message -------
Sender : Baptiste Durand<[email protected]>
Date : 2015-01-05 19:07 (GMT+09:00)
Title : [Dev] Mutli Apps inside 1 package
Hi all,
Corentin asked last week how a multi applications package is packaged.
There is no clear documentation on this point.
At this time we know only this :
-> manifest files mentions each app by using either app-svc tag or app-ui depending of the subtype of the app.
/home/<user>/apps_rw/<pkg_id>/app1_name/manifest.xml
/home/<user>/apps_rw/<pkg_id>/app1_name/icon.png
/home/<user>/apps_rw/<pkg_id>/app1_name/...
/home/<user>/apps_rw/<pkg_id>/app1_name/manifest.xml
/home/<user>/apps_rw/<pkg_id>/app1_name/icon.png
/home/<user>/apps_rw/<pkg_id>/app1_name/...
Currently, most of the existing packages contains only 1 applicaitions.
In the package archive there is no specific hierachy directory at root path we have the application files.
./manifest.xml
./icon.jpg
....
So to install a package with only 1 application we need to create the pkg_id path and application name directory to be compatible with the existing packages
But to install a package with multiple applications we need to be sure to have
either a consistent hierarchy inside the archive. (1)
./app_name1/app_1_binary
./app_name2/app_2_binary
....
or a new sub tag that indicate wich files are associated to an application inside the manifest...(2)
In my opinion, I'm not sure introducing a new tag inside a manifest is a good idea, it make packaging a little bit more difficult.
Check if the file hierarchy is aligned with the manifest is easier to implement and keep the packaging simple.
Indeed if we choose the option 1 then we have to create only one directory that correspond to pkg_id path.
Dominig, Pawel could you share your point of view?
Thanks in advance
BR & Happy new year!
Baptiste
--
Baptiste DURAND
Eurogiciel Vannes/FR
|
![]()
|
![]()
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev