Miko.Android
0.1.0
dotnet add package Miko.Android --version 0.1.0
NuGet\Install-Package Miko.Android -Version 0.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Miko.Android" Version="0.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Miko.Android" Version="0.1.0" />
<PackageReference Include="Miko.Android" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Miko.Android --version 0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Miko.Android, 0.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Miko.Android@0.1.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Miko.Android&version=0.1.0
#tool nuget:?package=Miko.Android&version=0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Miko.Android
Android host for Miko, the native .NET UI engine that renders
Razor components with SkiaSharp. It provides the GL surface, touch and soft-keyboard input, the
app lifecycle, and the Android implementations of Miko.Native and video playback
(MediaCodec). Android 8.0 (API 26) and later.
[Activity(MainLauncher = true, Theme = "@android:style/Theme.Material.Light.NoActionBar",
ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.ScreenSize | ConfigChanges.ScreenLayout
| ConfigChanges.SmallestScreenSize | ConfigChanges.Density | ConfigChanges.UiMode
| ConfigChanges.FontScale | ConfigChanges.Keyboard | ConfigChanges.KeyboardHidden)]
public class MainActivity : Activity
{
protected override void OnCreate(Bundle? savedInstanceState)
{
base.OnCreate(savedInstanceState);
SetContentView(MikoAndroidApp.CreateView(this,
() => MyApp.App.CreateContext(builder => builder.UseAndroidNative())));
}
}
UseAndroidNative()registers the native capabilities and the platform services components use (haptics, orientation, back button).UseAndroidVideo()registers the video backend.ConfigurationChangeskeeps the Activity, and with it the app's state, across rotation, dark mode and font-size changes.
The easiest start is the template: dotnet new install Miko.Templates::1.0.0-preview.1, then
dotnet new miko-multiplatform -o MyApp.
See the documentation and the
Android publishing guide.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-android36.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0-android36.0
- Miko (>= 0.1.0)
- Miko.Native (>= 0.1.0)
- SkiaSharp.Views (>= 3.119.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0 | 107 | 10/26/2026 |
| 0.0.74 | 130 | 9/18/2026 |
| 0.0.73 | 125 | 9/18/2026 |
| 0.0.72 | 115 | 9/17/2026 |
| 0.0.71 | 109 | 9/16/2026 |
| 0.0.70 | 131 | 9/9/2026 |
| 0.0.69 | 138 | 9/8/2026 |
| 0.0.68 | 149 | 9/3/2026 |
| 0.0.67 | 123 | 9/2/2026 |
| 0.0.66 | 123 | 9/1/2026 |
| 0.0.65 | 122 | 8/31/2026 |
| 0.0.64 | 120 | 8/28/2026 |
| 0.0.63 | 135 | 8/25/2026 |
| 0.0.62 | 125 | 8/24/2026 |
| 0.0.61 | 123 | 8/20/2026 |
| 0.0.60 | 123 | 8/19/2026 |
| 0.0.59 | 118 | 8/19/2026 |
| 0.0.58 | 122 | 8/18/2026 |
| 0.0.57 | 123 | 8/13/2026 |
| 0.0.56 | 131 | 8/11/2026 |
Loading failed