# dotnet/android-samples

A collection of .NET for Android sample projects

Repository: https://github.com/dotnet/android-samples
Canonical: https://ross.abutalabs.com/products/dotnet-android-samples
Homepage: https://dotnet.microsoft.com/apps/mobile
Language: C#
License: MIT
License Family: permissive
Last push: 2026-04-02T19:11:50+00:00

## Health v2 (maintenance only)
Score: 57/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 75, release rhythm 8, longevity 100
- inputs: {"age_days": 5861, "days_push": 153, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2212, forks 3923 (observed 2026-08-28T04:06:26.846770+00:00)

## What it is
A collection of sample projects demonstrating .NET for Android, showing how to use Android API wrappers from C#. Samples are indexed in Microsoft's sample galleries and include screenshots and README metadata for browsing.

## Use cases
- learn how to call Android APIs from C#
- find example code for .NET Android features
- get started building Android apps with .NET
- see working sample projects for Android API wrappers
- reference sample app structure for .NET Android submissions

## When to choose
- you are a .NET/C# developer learning Android development
- you need concrete example code for a specific Android API in .NET
- you want starter projects to adapt for your own Android app

## When to avoid
- you need production-ready application code rather than demos
- you develop Android in Java/Kotlin without .NET
- you need comprehensive documentation instead of sample snippets

## Facets
- artifact type: learning-resource
- maturity: active
- function: developer-tools, sdk
- domain: mobile-development, tutorials, cross-platform, developer-tools
- platform: dotnet, c
- tags: android-samples, dotnet-for-android, csharp, sample-code, xamarin, maui, android

## Member repositories
- dotnet/android-samples (main) score 57

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:26.846770+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:46:02.703105+00:00, confidence not recorded.
  - readme: https://github.com/dotnet/android-samples (fetched 2026-08-28T04:06:26.846770+00:00, sha a416eb0faad9)
  - homepage: https://dotnet.microsoft.com/apps/mobile (fetched 2026-08-29T10:26:28.289640+00:00, sha 4a0dd5067076)
  - site_page: https://learn.microsoft.com/docs (fetched 2026-08-29T10:26:28.301140+00:00, sha f29800be2b9a)
  - site_page: https://learn.microsoft.com/dotnet/maui/platform-integration (fetched 2026-08-29T10:26:28.303112+00:00, sha c9e85bffe14f)
  - site_page: https://learn.microsoft.com/en-us/dotnet (fetched 2026-08-29T10:26:28.299045+00:00, sha efa9016b58aa)
- Data as of 2026-08-30T08:39:29.467469+00:00.
