The Tizen .NET framework allows you to easily and efficiently create applications for Tizen. Study the following instructions to help familiarize yourself with the Tizen .NET application development process. With the instructions, you can create and run a basic .NET application, which displays some text on the screen with no user interaction.
This step shows how you can use a predesigned project template that creates all the basic files and folders required for your project.
After you have implemented code for the features you want, this step shows how you can build the application to validate and compile the code.
This step shows how you can deploy and run the application on the emulator or a real target device.
The following example shows you how to create and configure a basic Tizen .NET application project in Visual Studio. An application project contains all the files that make up an application.
The following figure illustrates the output of application.
To create a new Tizen .NET project:
A New Project window appears.
Define the project properties and click Create. You can enter the Project name, Location, and Solution name.
The Tizen Project Wizard pop-up window appears.
If you select the Common profile, you cannot select Mobile, TV, or Wearable.
The following figure illustrates a solution with two projects created and displayed in the Solution Explorer view:
If you are already familiar with Xamarin.Forms, this project has the same structure as a Xamarin.Forms portable application. The <projectname> project is the portable class library and the others are the platform-specific projects; however, in Tizen .NET, only the Tizen platform-specific project is generated.
The .cs file in the portable project already contains simple Xamarin.Forms code that makes a basic UI.
The building process performs a validation check and compiles your files. You must sign the application package with an author certificate when building the application.
Using the default certificate
If you do not need to upload your application to App Store, you can use a default certificate and deploy your application in the Emulator for testing purposes.
To use the default certificates,
Using the Samsung certificate
You have to create a Samsung Certificate to upload your application to Samsung TV Apps Seller Office.
To create Samsung certificate:
There are two different ways to build the application:
Tizen .NET applications are always deployed as installed packages. The package files have the .tpk file extension, and the process of generating a package is controlled by the manifest file. The Visual Studio template generates the manifest file (tizen-manifest.xml) to the top level of the <projectname>.Tizen project (if you create projects with mobile, TV, or wearable profiles, a separate manifest file is generated for each profile).
After you have built the application, deploy and run it.
To run the application, you must first deploy it to the target: either a device or an emulator. Deploying means transferring the package file (.tpk) to the target and invoking the Tizen package manager to install it.
To deploy and run the application on the emulator:
If no applicable emulator instance exists, you can create one.
Visit Connecting the TV and SDK to learn about running your application on Smart TV.