From: Editor Lionbridge Date: Wed, 12 Jul 2017 07:14:46 +0000 (+0300) Subject: Add TV content to Training X-Git-Tag: GitHub/PR#40/tizen-studio~111^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F35%2F138435%2F3;p=sdk%2Fonline-doc.git Add TV content to Training This is a manual cherry pick of the changes implemented in change #130901 in the tizen_3.0 branch in response to queries for that change (the base content of #130901 was already implemented in the tizen branch). PS2: Issues arising from queries dealt with. PS3: Added one more missed fix. Change-Id: Ic93c1ab415e4b530ea169f4a82848b8ba1bae664 --- diff --git a/org.tizen.training/html/cover_page.htm b/org.tizen.training/html/cover_page.htm index 90d3ab4..36c92a3 100644 --- a/org.tizen.training/html/cover_page.htm +++ b/org.tizen.training/html/cover_page.htm @@ -66,7 +66,7 @@

Tizen Profiles

-

Tizen is built to work on a wide variety of platforms with a focus on embedded devices. In order to accommodate the various types of devices, a set of profiles has been defined to make it easier to develop applications for specific purposes and device types. In Tizen 3.0, there are 3 profile types you can choose from: mobile, wearable, and TV. The mobile profile is designed for smart phones, the wearable profile is designed for smart watches, and the TV profile is designed for smart TVs.

+

Tizen is built to work on a wide variety of platforms with a focus on embedded devices. In order to accommodate the various types of devices, a set of profiles has been defined to make it easier to develop applications for specific purposes and device types. Since Tizen 3.0, there are 3 profile types you can choose from: mobile, wearable, and TV. The mobile profile is designed for smart phones, the wearable profile is designed for smart watches, and the TV profile is designed for smart TVs.

Both mobile and wearable profiles are supported in native and Web application types. The TV profile is supported in the Web application type only.

@@ -76,6 +76,8 @@

Figure: Applications using the wearable profile

Applications using the wearable profile

+

Figure: Applications using the TV profile

+

Applications using the TV profile

Tizen Documentation

@@ -136,14 +138,14 @@ TV Web - TV Web + TV Web or Optional TV Web
Note - In Tizen native APIs and Web Device mobile and wearable APIs, there are 2 types of APIs: mandatory and optional. The fully gray profile icon (as shown in the table above) refers to an optional API. + In Tizen native APIs and Web Device APIs, there are 2 types of APIs: mandatory and optional. The fully gray profile icon (as shown in the table above) refers to an optional API.

The mandatory APIs are always available on all Tizen devices. The optional APIs provide functionality that depends on the available device hardware or software capabilities, and they may not be available in all Tizen devices.

diff --git a/org.tizen.training/html/images/profile_tv.png b/org.tizen.training/html/images/profile_tv.png new file mode 100644 index 0000000..0578747 Binary files /dev/null and b/org.tizen.training/html/images/profile_tv.png differ diff --git a/org.tizen.training/html/native/details/deprecation_policy_n.htm b/org.tizen.training/html/native/details/deprecation_policy_n.htm index 4eb2989..fe02c0b 100644 --- a/org.tizen.training/html/native/details/deprecation_policy_n.htm +++ b/org.tizen.training/html/native/details/deprecation_policy_n.htm @@ -18,7 +18,7 @@
-

Mobile Wearable

+

Mobile Wearable TV Web

Content

diff --git a/org.tizen.training/html/web/details/app_filtering_w.htm b/org.tizen.training/html/web/details/app_filtering_w.htm index 7d5613d..9c70fdc 100644 --- a/org.tizen.training/html/web/details/app_filtering_w.htm +++ b/org.tizen.training/html/web/details/app_filtering_w.htm @@ -775,6 +775,47 @@ +

Table: Available requirements for TV Web Device APIs

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Feature keyDescriptionSince
http://tizen.org/feature/tv.audioSpecify this key, if the application requires the audio control functionality for using the TV Audio Control API.3.0
http://tizen.org/feature/tv.tunerSpecify this key, if the application requires the channel tuner functionality for using the TV Channel API.3.0
http://tizen.org/feature/tv.displaySpecify this key, if the application requires the screen display functionality for using the TV Display Control API.3.0
http://tizen.org/feature/tv.inputdeviceSpecify this key, if the application requires the input device event monitoring functionality for using the TV Input Device API.3.0
http://tizen.org/feature/tv.pipSpecify this key, if the application requires the picture-in-picture (PIP) functionality for using the TV Window API.3.0
http://tizen.org/feature/tv.informationSpecify this key, if the application requires the TV setting functionality for using the TV Information API.3.0
+

Profile-based Filtering

A Tizen profile describes the requirements for a category of Tizen devices that have a common application execution environment. Applications are created for a single specific target profile, such as mobile, wearable, or TV, and can run on devices compliant to that profile.

diff --git a/org.tizen.training/html/web/details/deprecation_policy_w.htm b/org.tizen.training/html/web/details/deprecation_policy_w.htm index 4eb2989..fe02c0b 100644 --- a/org.tizen.training/html/web/details/deprecation_policy_w.htm +++ b/org.tizen.training/html/web/details/deprecation_policy_w.htm @@ -18,7 +18,7 @@
-

Mobile Wearable

+

Mobile Wearable TV Web

Content

diff --git a/org.tizen.training/html/web/details/tizen_apis_w.htm b/org.tizen.training/html/web/details/tizen_apis_w.htm index a7d39f3..2b11e7f 100644 --- a/org.tizen.training/html/web/details/tizen_apis_w.htm +++ b/org.tizen.training/html/web/details/tizen_apis_w.htm @@ -90,14 +90,13 @@ Messaging - These APIs contain classes and interfaces that enable you to manage SMS, MMS, and email messages. + This API contains classes and interfaces that enable you to manage SMS, MMS, and email messages.

You can send and receive messages, and receive push notifications from a push server.

@@ -311,6 +309,120 @@ +

The following table lists the features provided by the TV Web Device API Reference.

+

Table: Device API features provided for TV applications

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FeaturePurposeDocumentation
BaseThese APIs contain classes and interfaces that provide a set of basic definitions and interfaces that are used in the Tizen Device API. +

You can manage common files and ZIP archive files, and define filters and sorting modes for queries. You can also use generic success and error event handlers, in addition to a generic error interface and a simple coordinate interface for defining location information.

+
Application FrameworkThese APIs contain classes and interfaces that enable you to manage alarm, application, and package features. +

You can schedule an application to be run at a specific time, retrieve information about the applications installed or running on the device, and enable package management.

+
ContentThese APIs contain classes and interfaces that enable you to manage content and download features. +

You can search and manage multimedia content locally, manipulate EXIF data in JPEG files, download files from the Internet, and monitor the download progress and status.

+
MessagingThis API contains classes and interfaces that enable you to manage push messaging. +

You can receive push notifications from a push server.

+
NetworkThis API contains classes and interfaces that enable you to manage IoT connectivity. +

You can create a client and server, and manage their resources locally and remotely.

+
SecurityThis API contains classes and interfaces that enable you to manage secure keys in your application. +

You can use security functionalities, such as storing and recalling private data.

+
SystemThese APIs contain classes and interfaces that enable you to manage system information, time, and Web setting features. +

You can access the device system information and use locale-specific calendar features by retrieving date and time information. You can also set Web view properties, such as setting Web view user agents and deleting Web view cookies.

+
CordovaThese APIs contain classes and interfaces that enable you use common functionalities in creating Tizen Web applications. +

You can manage the device filesystem, individual files, and various events, access device and network information and the device accelerometer, create dialog boxes and system log entries, and play audio files.

+
TV ControlsThese APIs contain classes and interfaces that enable you control the TV functionalities, such as channels and audio. +

You can modify the volume level, switch TV channels, get program guide information, and manage TV settings. You can also access 3D mode information, monitor remote control key events, and control the main and PIP window on the TV screen.

+
+

The following table lists the features provided by the Mobile Web W3C/HTML5 and Supplementaries API Reference.

Table: W3C/HTML5 and some supplementary API features provided for mobile applications

diff --git a/org.tizen.training/html/web/process/app_dev_process_w.htm b/org.tizen.training/html/web/process/app_dev_process_w.htm index 7d5c08e..f98f775 100644 --- a/org.tizen.training/html/web/process/app_dev_process_w.htm +++ b/org.tizen.training/html/web/process/app_dev_process_w.htm @@ -245,33 +245,33 @@

After you have packaged your application, you are ready to certify and publish your application.

To certify and publish your application:

    -
  • Upload your mobile Web application to the Tizen Store or your wearable Web application to the Samsung Galaxy Apps Store for registration. -

    After the application is uploaded, the application is signed as a certified application installer package and the <Application_name>.wgt archive format, which contains the distributor signature, is added by the Tizen Store or Samsung Galaxy Apps Store.

    +
  • Upload your mobile Web application to the Tizen Store, your wearable Web application to the Samsung Galaxy Apps Store, or your TV Web application to the Samsung App Store for registration. +

    After the application is uploaded, the application is signed as a certified application installer package and the <Application_name>.wgt archive format, which contains the distributor signature, is added by the applicable store.

  • -
  • Submit your application to the Tizen Store or Samsung Galaxy Apps Store for validation and selling. -

    The Tizen Store or Samsung Galaxy Apps Store checks whether your application functions properly before publishing it.

    +
  • Submit your application to the applicable store for validation and publication. +

    The store checks whether your application functions properly before publishing it.

For detailed instructions on how to register your application and submit it for validation and publication in the Tizen Store, see Tizen Store Overview and other subtopics within the Distribution section of the Tizen Developers site.

-

You can also upgrade your application after certification. If you want to withdraw your application from distribution and operation, you need to request for application retirement from the Tizen Store or Samsung Galaxy Apps Store.

+

You can also upgrade your application after certification. If you want to withdraw your application from distribution and operation, you need to request for application retirement from the store.

Upgrading the Application

-

You can upgrade your application even after you have certified and made it available for sale at the Tizen Store or Samsung Galaxy Apps Store.

+

You can upgrade your application even after you have certified and published it at the Tizen Store, Samsung Galaxy Apps Store, or Samsung App Store.

To upgrade your application:

  1. Update your application version, and if needed the privileges, in the config.xml configuration file in the Tizen Studio.
  2. Update the application code as needed.
  3. If needed, update the privileges in the config.xml configuration file in the Tizen Studio.
  4. Build, test, and repackage the application.
  5. -
  6. Register the upgraded application on the Tizen Store or Samsung Galaxy Apps Store.
  7. +
  8. Register the upgraded application on the applicable store.

When a previously installed application is upgraded on a device, you can decide which data files from the old version are retained and which are deleted. The common Tizen upgrade policy is to overwrite all the application package files, while keeping the user-created files and directories unchanged.

-

Once your application has reached the end of its life-cycle, you can remove it from the Tizen Store or Samsung Galaxy Apps Store.

+

Once your application has reached the end of its life-cycle, you can remove it from the store.

diff --git a/org.tizen.training/html/web/process/creating_app_project_w.htm b/org.tizen.training/html/web/process/creating_app_project_w.htm index 1120d8d..2feb184 100644 --- a/org.tizen.training/html/web/process/creating_app_project_w.htm +++ b/org.tizen.training/html/web/process/creating_app_project_w.htm @@ -36,7 +36,13 @@
  • Select the Template project type and click Next.

    Selecting the project type

  • -
  • Select the profile (Mobile or Wearable) and version from a drop-down list and click Next.

    +
  • Select the profile (Mobile, Wearable, or TV) and version from a drop-down list and click Next.

    + +
    + Note + If you cannot see the TV profile option, open the Package Manager and make sure that you have installed the TV extension packages in the Extension SDK tab. +
    +

    Selecting the profile and version

  • Select the Web Application application type and click Next.