DISTRIBUTION OF TIZEN-BASED WATCH APPS HAS BEEN DISCONTINUED
Creating a Project
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. The application screen displays a message, Welcome to Xamarin Forms! and there is no user interaction.
Figure: Application running on the wearable emulator
To create a new Tizen .NET project:
Launch Visual Studio.
In the Visual Studio menu, select File > New > Project.
Define the project properties and click OK. You can enter the Name, Location, and Solution name.
The Tizen Project Wizard pop-up window appears.
Select the profile, Wearable (preview). Click OK.
If you select the Common profile, you cannot select Mobile, TV, or Wearable.
The following figure illustrates a solution with four projects created and displayed in the Solution Explorer view:
Figure: Project with mobile, TV, and wearable profiles
The project contains the Xamarin.Forms code shared across platforms.
If you select the common profile in the Tizen Project Wizard, a common project titled .Tizen is added. It contains code to instantiate your common application within the Tizen framework.
If you select the wearable profile in the Tizen Project Wizard, a wearable project titled .Tizen.Wearableis added. It contains code to instantiate your wearable application within the Tizen framework.
If you are already familiar with Xamarin.Forms, this project has the same structure as a Xamarin.Forms portable application. The 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.
SAMSUNG and Cookies
Our site uses cookies, including optional cookies to provide you with the best experience on our website and relevant advertising based on your use of our site, You can manage your preferences or accept all cookies.
You can also read our Privacy Policy and Cookie Policy.
Manage Your Cookies
We use cookies to improve your experience on our website and to show you relevant
advertising. Manage you settings for our cookies below.
Essential Cookies
These cookies are essential as they enable you to move around the website. This
category cannot be disabled.
Company
Domain
Samsung Electronics
.samsungdeveloperconference.com
Analytical/Performance Cookies
These cookies collect information about how you use our website. for example which
pages you visit most often. All information these cookies collect is used to improve
how the website works.
Company
Domain
LinkedIn
.linkedin.com
Meta (formerly Facebook)
.samsungdeveloperconference.com
Google Inc.
.samsungdeveloperconference.com
Functionality Cookies
These cookies allow our website to remember choices you make (such as your user name, language or the region your are in) and
tailor the website to provide enhanced features and content for you.
Company
Domain
LinkedIn
.ads.linkedin.com, .linkedin.com
Advertising Cookies
These cookies gather information about your browser habits. They remember that
you've visited our website and share this information with other organizations such
as advertisers.
Company
Domain
LinkedIn
.linkedin.com
Meta (formerly Facebook)
.samsungdeveloperconference.com
Google Inc.
.samsungdeveloperconference.com
Preferences Submitted
You have successfully updated your cookie preferences.