Govind
Govind

Reputation: 73

What is data/data equivalent for Tizen

The installed package in android goes to /data/data folder. You can browse them through adb commands.

Can someone tell me where will the installed packages are installed in tizen? How can I browse this using sdb commands?

Upvotes: 0

Views: 384

Answers (1)

pius lee
pius lee

Reputation: 1174

As I know there are no specs about application installation directory in Tizen specs.

But I know Mobile & Wearable (Z1, Z3, Gear S1, Gear S2) 2.3.x Emulator and Targets follow same rule.
For pre-installed application : /usr/apps/[Pakcage ID]
For User installed application : /opt/usr/apps/[Package ID]

And Since Tizen 3.0 has Multi User so User apps should be install to /home/[user name]/apps_rw/[Package ID].

In Additionally, current Tizen has two type of application Web and Native.
Each Application has different installation directory structure.

Native Application

author-signature.xml : Author signing that created with this App
bin                  : Excutable binary or libs for App
cache                : App Cache directory use internally for platform.
data                 : Data directory that application can read or WRITE
lib                  : Libraries used in only this application.
res                  : Resources that used in only this application. 
shared               : Files (Usually resource) that can SHARED with other apps.
signature1.xml       : File signs for every files in application.
tizen-manifest.xml   : Manifest file for this Application.

Web Application

shared               : Same Usage with Native
tmp                  : It works like the browser Cache file directory
bin                  : Link of the Launcher for Web Application that Platform internal use internally.
data                 : Same Usage with Native
res                  : Same Usage with Native 
res/wgt              : Every files in User `wgt` package
  • Icon of application (Native and Web) placed in shared/res/ because it should be used to other apps.
  • Files in web Application package (wgt) will be install to res/wgt.
  • Message Port API use shared and shared/trusted internally. (web, native)

You can't read files in directories except few things like shared/res if you are not root.
On Emulator or Engineering image can set root with sdb root on command.

Directories can be changed in any time because Tizen spec does not describe about the directories of application.

Upvotes: 4

Related Questions