Tizen 二进制文件类型和创建

Tizen binary file type and creation

我正在尝试为 Samsung Gear S2 创建一个 Tizen 应用程序。为了提交应用程序,我需要提供一个二进制文件。二进制是什么文件类型?是 .tpk 还是 .wgt?如何强制 Tizen IDE 创建此输出文件?

根据 official developer documentation

The Content Type of a binary is automatically detected and displayed [...]

在此上下文中,存在多个 Tizen 二进制类型:

  1. 原生 (Wearable-Intergrated) - *.tpk - 集成

  2. 原生 (Wearable-Linked) - *.tpk - 链接

  3. Web (Wearable-Integrated) - *.wgt - 集成

  4. Web (Wearable-Linked) - *.wgt - 链接

  5. Web (Wearable-Standalone) - *.wgt - 独立

因此,要创建 Tizen 项目的二进制文件,您必须根据开发人员指南配置所有支持的目标设备和所有其他项目属性(请参阅 link ).那么:

if saving is properly processed after the [Save] button is clicked, the information of the uploaded binary are automatically detected from the manifest.xml or config.xml file.

希望对您有所帮助。

按照以下步骤生成二进制文件(tpk/wgt)。

  1. 打开 Tizen SDK
  2. 在 Project Explorer3 中右键单击您的项目。

如果是网络应用程序

  1. 然后单击“Build Package”,这将在.../workspace/projectname/[= 处生成 wgt 文件28=]

如果本机应用程序

  1. 然后点击 'Build Package' -> 'TPK' 将在 .../workspace/projectname/Debug
  2. 生成 tpk