Tizen IVI SDK

From Tizen Wiki
Jump to: navigation, search

Tizen IVI SDK - Tizen IVI 3.0 Final Release (2015/2/2)

Tizen In-Vehicle Infotainment Software Developers Kit (IVI SDK) is a new IVI platform supported under Tizen SDK. It supports IVI web application development and runs on Windows*, Ubuntu*, and Mac OS X*. It includes Emulator (based on QEMU), Web Simulator, IDE, documents and samples, and supports a real IVI device hardware as a target.


Release Information

VERSION SNAPSHOT DATE NOTE
Tizen IVI 3.0 Final Release 0202004337784566 2015/02/02

New features:

  • Emulator (based on QEMU): Kernel is upgraded from 3.12 to 3.14. VCAN module is enabled in kernel. Qemu is upgraded from 2.0 to 2.2. Image is based on Tizen IVI 3.0 Final Release (20150201.3) release. The web runtime engine is updated to Crosswalk version 11.40.277.0. Intel HAXM smp feature is supported. HD (720X1280) resolution is supported for running Modello sample applications.
  • Web Simulator: The API support for Locale module, Speech module, MediaServer module and Vehicle module is updated according to the specification. HD (720X1280) resolution is supported for running Modello sample applications.
  • IDE: Eclipse is upgraded from Indigo (3.7) to Kepler (4.3). Modello sample applications and common libraries are updated. Editor automatic completion is updated for Speech API, MediaServer API and Vehicle API. Install/run/debug commands in IDE are updated based on platform pkgcmd tools and aul tools.
  • Documents: Tizen IVI API documents for Locale, Speech, MediaServer and Vehicle are updated in help documentation. Tizen Standalone Emulator wiki is updated.
Tizen IVI 3.0-M3-Oct2014 1028204116965856 2014/10/31

New features:

  • Emulator (based on QEMU): Image is based on Tizen IVI 3.0-M3-Oct2014 (20141028.3) release. The web runtime engine is updated to Crosswalk version 10.38.222.0.
  • Web Simulator: The API support for Vehicle module is updated according to redefined specification.
  • IDE: Modello sample applications and common libraries are updated. Automatic completion is updated for new vehicle interfaces into editor. Run/debug tools in IDE are upgraded to support pkgcmd tools and aul tools. Web application Javascript log can be shown in IDE console. 'sdb dlog' is supported.
  • Documents: Tizen IVI API for Vehicle is updated in help documentation. Tizen Standalone Emulator wiki is updated.
Tizen IVI 3.0-M3-June2014 0727205436730224 2014/07/27

New features:

  • Emulator (based on QEMU): Kernel is upgraded to 3.12.18. Image is based on Tizen IVI 3.0-M3-June2014 (20140724.4) release. The web runtime engine is updated to Crosswalk.
  • Web Simulator: Added new support for 3 modules: MediaServer (DLNA), Speech and Locale. Updated API support for Vehicle module.
  • IDE: Modello sample applications and common libraries are added. Run/debug tools in IDE are upgraded to support Crosswalk tools.
  • Documents: Tizen IVI API is updated in help documentation, including Locale, MediaServer, Speech and Vehicle API. Tizen Standalone Emulator wiki is added.
Tizen IVI 3.0-M2-March2014 0423205459675642 2014/04/23

New features:

  • Emulator (based on QEMU): Kernel is upgraded to 3.12 with SMACK (security module) enable. Image is based on Tizen IVI 3.0-M2-March2014 (20140415.5) release
  • Web Simulator: Added new support for 3 modules: MessagePort, SecureElement and WebSetting.
  • IDE: New template for Web UI component - cowhide 0.1.16
  • Documents: Add 2 wiki: How to custom emulator image How to develop web simulator
Tizen IVI 3.0-M2-EOY 0122185559103900 2014/01/22 First drop. It supports IVI web application development and runs on Windows*, Ubuntu*, and Mac OS X*.

New features:

  • Emulator (based on QEMU): Emulates full stacks of the Tizen IVI platform. The image is based on the Tizen 3.0 IVI EOY (20140115.4) release
  • Web Simulator: Provides a new IVI profile support. It includes vehicle API implementation, a vehicle panel for getting/setting vehicle internal data, and car running simulation.
  • IDE: Includes IVI templates and samples in the project wizard; IVI API auto-complete in editor. Supports a web application running and debugging on multiple targets including emulator, web simulator, or real IVI device.
  • Documents: Help document includes vehicle API reference.

Installing Tizen IVI SDK

Installing Tizen IVI SDK is relatively easy if you have experience with the Tizen SDK installation process. All of the IVI support resources are packaged as optional components and can be installed using the Install Manager. See Tizen SDK installation instructions if needed. Note the differences described below prior to installation.

Downloading Install Manager

PLATFORM INSTALL MANAGER FILE SIZE MD5 Checksum
Ubuntu® 32bits tizen-sdk_2.3.59_ubuntu-32.bin 5.5M 638cc69e5db33f5a1e11f5897cf96774
Ubuntu® 64bits tizen-sdk_2.3.59_ubuntu-64.bin 5.6M c4e9804afc22304d051c7fdb9a16a438
Windows® 7 32bits tizen-sdk_2.3.59_windows-32.exe 6.0M 17919642ca8dfacca0a6e076759c8361
Windows® 7 64bits tizen-sdk_2.3.59_windows-64.exe 6.0M 641c3b4859d837079c3f54b50042bcc2
Mac OS X® (Intel) tizen-sdk_2.3.59_macos-64.dmg 5.7M a7b74bbfd96f40ebd3cc8c7d6cd8c43e
Mac OS X® (Intel,CLI) tizen-sdk_2.3.59_macos-64.bin 5.5M 8334a0b697dafd815432ac562cc67f01

Installing the SDK

Install Tizen SDK using the Install Manager.

  • Launch the SDK install manager, click Advanced.
  • Change the package server to developing location due to Tizen 3.0 SDK is still cooking.
    • In the Advanced Configuration window, select the Package Server radio button and click Change server.
    • In the Change Server dialog box, change the package server address to: http://download.tizen.org/sdk/latest and click OK.

InstallManager4.png

  • Select the most recent snapshot.
    • Change Distribution to 'ivi', uncheck the Auto update option and check the Show all option.
    • Select the most recent snapshot or use a QA tested snapshot.
    • List the latest snapshots we have tested: 0202004337784566 (Date: 2015-02-02 17:19)
      • Testing matrix
        • Ubuntu: 14.04 (64-bit Sandy bridge, 32-bit Ivy bridge)
        • Ubuntu: 12.04 32-bit (Ivy bridge, Sandy bridge, ATI) and 64-bit (Sandy bridge)
        • Windows: Windows 7 64-bit (Ivy bridge, Sandy bridge, Nvidia, ATI)
        • Mac: MacOS 10.9 + ATI; 10.8.3 + Nvidia

Install-manager2.png

  • Manually select all components. ("IVI 3.0" component is in the "Platforms" category.)

InstallManager8.png

Install Tizen SDK with offline package

The offline package can be used in situations where the package server cannot be used due to lack of internet connectivity.

PLATFORM SDK IMAGE FILE SIZE MD5 Checksum
Ubuntu® 32-bit tizen-sdk-image-ivi-m14.4-20150202-ubuntu-32.zip 1.9G 2d539fd6d510b3cc573f76e27a49351c
Ubuntu® 64-bit tizen-sdk-image-ivi-m14.4-20150202-ubuntu-64.zip 1.9G ad435af9571b4ee27f5fd7281a46e78c
Windows® 7 32-bit tizen-sdk-image-ivi-m14.4-20150202-windows-32.zip 2.3G 5b7a0d00dcfcd251ba200b4132861d51
Windows® 7 64-bit tizen-sdk-image-ivi-m14.4-20150202-windows-64.zip 2.3G f392f675b5db72132cbc33927028edfa
Mac OS X® tizen-sdk-image-ivi-m14.4-20150202-macos-64.zip 1.8G 2ec37dafdedc530e497853a370c6bc58
  • In the Advanced Configuration dialog, select the SDK image radio button and click Browse button to open the downloaded SDK image file.

Install offline.png

  • Complete other steps as previous online instructions to install.

Features

Emulator (based on QEMU)

Emulates full stacks of the Tizen IVI platform. Run and debug the Tizen IVI web application before deploying to the real IVI device. The Emulator is based on the open source QEMU project.

Note that power key is used for turning on the screen when the screen is black. But it cannot be used for power off. If you want to close the emulator, you can right click the emulator skin and then click "Advanced" -> "Force Close".

IVIEmulator1.png

By default the resolution of the emulator is HD (720 x 1280). If you are interested in running an emulator in another resolution or in landscape mode modify the Display options at file platforms/ivi-3.0/emulator-resources/template/x86-standard-template.xml.

Web Simulator

Tizen Web Simulator is a light-weight tool that provides a new IVI profile support. It includes Vehicle, Speech, MediaServer and Locale API implementation, as well as all Tizen mobile modules API compatible. A vehicle panel for getting/setting vehicle internal data, and car running simulation. The new landed "Vehicle Information" panel includes four tabs:

  • "Vehicle Configuration" tab - provides vehicle basic information like VehicleId, Size, and so on.
  • "Vehicle Supported Properties" tab - provides enable/disable-supported properties.
  • "Vehicle Settings" tab - provides setting various vehicle status.
  • "Simulate Car Running" tab - simulates car running. VehicleSpeed, EngineSpeed status change automatically.

IVISimulator2.png


IDE

  • Support IVI templates and samples
    • Templates: Basic IVI application and Tizen Web UI Component (cowhide 0.1.16) application
    • Samples: ModelloAMBSimulator, ModelloAppManager, ModelloDashboard, ModelloHomescreen, ModelloHVAC, ModelloMultimediaPlayer, ModelloNavigation, ModelloPhone, ModelloSmartDeviceLink
      • Note that only when Modello projects' name is same with Modello samples' name, such as the web project is named "ModelloDashboard", their top icons can be shown up and they can be switched from other installed Modello applications.

IVIProjectWizard1.png

  • Support Tizen IVI API automatic completion

Tizen IVI API automatic completion has been implemented in editor. Now Vehicle API, MediaServer API, Speech API and Locale API are supported.

IVIContentAssist1.png

  • Support running and debugging on multiple targets – emulator, web simulator, or real IVI device.

IVIRunas1.png

Document

"Tizen IVI App Programming" has been added into SDK help content. You can find it in SDK Help Content. Now Vehicle API, MediaServer API, Speech API and Locale API are landed.


IVIHelpContent1.png

This is the online document Tizen IVI Web APIs

Deploying a web application

Deploying to real IVI device via TCP/IP (include remote debugging)

Smart Development Bridge (SDB) acts as an intermediary between a device and your development system. Set up the SDB manually on an IVI real device before deploying.

1. Launch sdbd service with root privilege in the real IVI device.

$ su
// default root password is "tizen"
# systemctl start sdbd_tcp

2. SDB connect to the IVI real device via TCP/IP in your development system.

$ cd <tizen_sdk_path>/tools
$ ./sdb connect <real IVI device IP>

After successfully connecting, the IVI device is shown in the "Connection Explorer" of Tizen IDE.

Connection-explor.png

3. Switch to the SDB root mode in your development system(host machine).

$ cd <tizen_sdk_path>/tools
$ ./sdb root on

4. Switch web launch default command from WRT to Xwalk.

  • Open the Launch Preferences UI. IDE -> Window -> Preferences -> Tizen SDK -> Web -> Launch
  • Click the check box before “Use Xwalk default launch commands” as the following snapshot.

WindowPreferencesLaunchXwalk.png

  • Click button “Restore Defaults” -> “Apply” -> “OK”.

5. Run and debug the web application on the IVI device.

Note that before running and debugging the app, make sure that SDB is in root mode. If you don't plan to sign an app with your own author certificate, it will use the default signature. You can "Run As" and "Debug As" web applications to the IVI device.

Remote debugging: Clicking "Debug As" automatically opens the Web Inspector in your host machine.

Ivirunas2.png

Ividivice2.jpg

Deploying to Web Simulator

There is no difference between IVI and mobile deployment. See Running Widgets on the Simulator.

Deploying to IVI emulator

You need to follow Step 2, Step 4 and Step 5 in "Deploying to real IVI device" part first. For other details, it is the same as the Tizen mobile emulator. See Running Widgets on the Emulator.

How To

How to launch a standalone emulator

To launch a standalone emulator without installing Tizen SDK, please see Tizen Standalone Emulator

How to customize the emulator image

To customize your emulator image, see How to custom emulator image

How to develop web simulator

See How to develop web simulator

Top Known Issues and Workarounds

  • Top Known Issues
    • [P2] TC-2272 [SDK][IDE] auto completion would not work in tizen distribution
    • [P3] TC-2005 [SDK][Emulator] host machine camera not work in emulator on Mac OS
    • [P3] TC-1764 Fail to launch app using "open_app appid" with non app user on Tizen IVI
    • [P3] TC-1427 [SDK][emulator] poweroff take too long if app launched on Mac OS X
    • [P3] TC-314 [SDK][Wayland]efl_thread_2 in elementary-examples only run 1 sec on specific Mac machine
    • [P3] TC-199 Support emulator image builds for Tizen IVI
  • Workarounds
    • [P2] TC-2272 [SDK][IDE] auto completion would not work in tizen distribution
      • After changing the workspace name to "workspace0" or "workspace1", navigator.xxx.xxx auto completion will work.

Resources

FAQ

  • For more information about Tizen IVI see Tizen IVI
  • For more information about Tizen SDK see Tizen SDK
  • If you have any questions about Tizen IVI SDK, please contact us:

Wang, Wenchao Liu, Alice Wu, Jackie Mei, Paul