Get started Chronoir_net.Chronica.WatchfaceTemplate


For building Android Wear Watchface application in C# with Xamarin

1. Welcome!

Thank you for using Chronoir_net.Chronica.WatchfaceTemplate!
This project can build a watch face application running on Android Wear with Xamarin.

* Project template info.

Project template name $safeprojectname$
Displayed name Analog Watchface App (Android Wear)
Project template version 1.0.1
Programing language C# 6.0
Watchface style Analog
Target Android Version 5.0.1 (Lollipop) / 5.1.1 (Lollipop) / 6.0 (Marshmallow)

2. System requirements

This project corresponds to the development environment shown below.

* Development environment

Name Version
Visual Studio Community 2015 or higher
Xamarin.Android 4.2 or higher
Xamarin for Visual Studio 4.0.1.145 or higher
 

* Android SDK

Launch the Android SDK Manager and install or update the Android SDK and Tools as necessary.

SDK name API Level / Version
Android SDK Platform API Level 21 and 23
Android SDK Tools Ver. 23 or higher
 

* NuGet packages

Launch the NuGet package manager and install or update the packages as necessary.

Package name Version
Xamarin.Android.Support.v4 23.x.x.x
Xamarin.Android.Support.v13 23.x.x.x
Xamarin.Android.Support.v7.RecyclerView 23.x.x.x
Xamarin.Android.Wear 1.3.x.x
Chronoir_net.Chronica.WatchfaceExtension 1.0.2.0 or higher

Note: If you created it for the first time in the solution, open the NuGet package manager and restore the packages (*In Visual Studio 2017, automatically restore package from online).

3. Contents of the project template

The files included in this project template shown below.

Name Summary
$safeprojectname$.csproj Project file
MyWatchFace.cs Watchface application source file
packages.config Definition file for installation information of NuGet package
(Note: Please do not edit directly.)
Properties/AndroidManifest.xml Android application manifest file
Resources/drawable Image resources folder
Resources/values/colors.xml Color value definition file
Resources/values/dimens.xml Dimention size value definition file
Resources/values/dimens.xml String definition file
Resources/Resource.designer.cs Resource ID definition file
(Note: Please do not edit directly.)

4. Running or Debugging the Watchface application

To run and debug the watch face application, prepair an emulator for Android Wear or actual device.

* Emulator

Launch the Android SDK Manager and install the system image of the emulator as necessary.

Name API Level
Android Wear Intel x86 Atom System Image API Level 21, 22, 23

Note: To use the system image of Intel x86, install "Intel x86 Emulator Accelerator (HAXM install)".