Get started Chronoir_net.Chronica.AndroidWearApp2


For building Android Wear 2.0 application in C# with Xamarin

1. Welcome!

Thank you for using Chronoir_net.Chronica.AndroidWearApp2!
This project for building a Android Wear 2.0 application (API level 25) with Xamarin.

* Project template info.

Project template name Chronoir_net.Chronica.AndroidWearApp2
Displayed name Wear 2.0 App (Android)
Project template version 1.0.1
Programing language C# 6.0
Target Android Version Wear 2.0 (Android 7.1 Nougat / API level 25) or higher

2. System requirements

This project corresponds to the development environment shown below.

* Development environment (for Windows)

Name Version
Visual Studio Community 2017 or higher (Recommended the latest version)
Xamarin.Android (Recommended the latest version)
Xamarin for Visual Studio (Recommended the latest version)

* Development environment (for Mac)

Name Version
Visual Studio for Mac Community 2017 or higher (Recommended the latest version)
Xamarin.Android (Recommended the latest version)
 

* 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 25
Android SDK Platform Tools Ver. 25 or higher
 

* NuGet packages

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

Package name Version
Xamarin.Android.Support.Annotations 25.x.x.x
Xamarin.Android.Support.Compat 25.x.x.x
Xamarin.Android.Support.Core.UI 25.x.x.x
Xamarin.Android.Support.Fragment 25.x.x.x
Xamarin.Android.Support.Media.Compat 25.x.x.x
Xamarin.Android.Support.Percent 25.x.x.x
Xamarin.Android.Support.v4 25.x.x.x
Xamarin.Android.Support.v13 25.x.x.x
Xamarin.Android.Support.v7.RecyclerView 25.x.x.x
Xamarin.Android.Wear 2.0.x.x

3. Contents

The files included in this project template shown below.

Name Summary
$safeprojectname$.csproj Project file
MainActivity.cs Main activity source file
TrialCounter.cs Sample class file
Properties/AndroidManifest.xml Android application manifest file
Resources/drawable/Icon.png Icon file
Resources/layout/Main.xml Main layout definition file
Resources/values/string.xml Dimention string value definition file
Resources/values/dimens.xml Dimention size value definition file
Resources/values-round/string.xml Dimention string value definition file for Round Form
packages.config Definition file for installation information of NuGet package
(Note: Please do not edit directly.)
Resources/Resource.designer.cs Resource ID definition file
(Note: Please do not edit directly.)

4. Running or Debugging the Wear application

To run and debug the application, prepair an emulator 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 25 or higher

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