[Application] Add Applicatin extension skeleton and getAppInfo/getAppsInfo support
authorLong Xiang <xiang.long@intel.com>
Thu, 27 Feb 2014 07:19:52 +0000 (15:19 +0800)
committerLong Xiang <xiang.long@intel.com>
Thu, 27 Feb 2014 07:19:52 +0000 (15:19 +0800)
commitc5e11b25adfba83452a9d0a0dc4063450690cf98
treea0e1d7d888437aa5969fcedffa7d1f374933d81d
parent8bc333f3dd22550d7fc76c4a37b5bcb6d8077724
[Application] Add Applicatin extension skeleton and getAppInfo/getAppsInfo support

The implementation is based on below spec:
https://developer.tizen.org/dev-guide/2.2.0/org.tizen.web.device.apireference/tizen/application.html

The ApplicationInformation class will encapsulate Tizen application info, and
provides serialization method to transfer its data. An internal PkgMgrHandle
class is implemented to abstract appinfo and pkginfo handles, it also provides
methods to fetch different application information from them by using
pkgmgr-info/pkgmgr APIs.

In order to bind current ApplicationId to application extension, we will
translate the Crosswalk application ID to Tizen ApplicationId when it is
created.
13 files changed:
application/application.gyp [new file with mode: 0644]
application/application_api.js [new file with mode: 0644]
application/application_extension.cc [new file with mode: 0644]
application/application_extension.h [new file with mode: 0644]
application/application_information.cc [new file with mode: 0644]
application/application_information.h [new file with mode: 0644]
application/application_instance.cc [new file with mode: 0644]
application/application_instance.h [new file with mode: 0644]
common/common.gypi
common/extension.cc
common/extension.h
packaging/tizen-extensions-crosswalk.spec
tizen-wrt.gyp