# codenameone/CodenameOne

Open-source framework for native apps from one Java codebase, with a custom-rendered UI you control across iOS, Android, desktop, web, and watches.

Repository: https://github.com/codenameone/CodenameOne
Canonical: https://ross.abutalabs.com/products/codenameone
Homepage: https://www.codenameone.com/
Language: Java
License: NOASSERTION
License Family: other
Topics: cross-platform, java, kotlin, android, ios, app-framework, windows, desktop, macos, codename-one, maven, pwa, mobile-development, aot, compiler, graphics, jvm, linux, watchos, wear-os
Last push: 2026-08-26T20:03:45+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 86, longevity 100
- inputs: {"age_days": 4177, "days_push": 7, "days_rel": 12, "gap_med": 6.0, "n_releases_24m": 87}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1860, forks 434 (observed 2026-08-28T04:05:45.276249+00:00)

## What it is
Codename One is an open-source framework that compiles a single Java (or Kotlin) codebase into native applications for iOS, Android, desktop, web, watches, TV, and vehicles. It ships a custom-rendered UI toolkit that the platform cannot silently restyle, with native interfaces and peer components for direct platform SDK access.

## Use cases
- build a native mobile app from one Java codebase
- cross-platform app that runs on iOS and Android with shared UI
- write once run anywhere mobile development in Java or Kotlin
- deploy a Java app to desktop, web, and wearables
- custom-rendered UI that survives OS updates
- access native platform SDKs from a shared codebase
- build a PWA or JavaScript web app from Java

## When to choose
- your team knows Java or Kotlin and wants to target mobile without learning Swift or Kotlin natively
- you need one codebase across phones, desktops, browsers, and watches
- you want pixel-level control over UI theming with CSS and custom rendering
- you need to drop into native SDKs via native interfaces when required

## When to avoid
- you need fully native platform look-and-feel with standard OS widgets
- you prefer Swift, Kotlin, or React Native ecosystems
- you cannot rely on cloud build services for iOS builds
- you need deep integration with platform-specific UI paradigms

## Facets
- artifact type: framework
- maturity: active
- function: mobile-framework, ui-components, compiler, graphics, css-framework, testing, build-tool
- domain: mobile-development, cross-platform, web-development, desktop-applications
- platform: windows, jvm, cross-platform, browser
- tags: java, kotlin, write-once-run-anywhere, native-apps, aot-compilation, wearables, pwa, maven, simulator, cloud-builds, android, ios, macos, linux, web-server

## Member repositories
- codenameone/CodenameOne (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:45.276249+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-30T03:15:54.909938+00:00, confidence not recorded.
  - readme: https://github.com/codenameone/CodenameOne (fetched 2026-08-28T04:05:45.276249+00:00, sha f70889c1cf9f)
  - homepage: https://www.codenameone.com/ (fetched 2026-08-29T10:54:55.410831+00:00, sha 76d9d280d588)
  - site_page: https://www.codenameone.com/getting-started (fetched 2026-08-29T10:54:55.419889+00:00, sha 0ac278da32d6)
  - site_page: https://www.codenameone.com/about-us (fetched 2026-08-29T10:54:55.423677+00:00, sha b1f124b59bfd)
  - site_page: https://www.codenameone.com/pricing (fetched 2026-08-29T10:54:55.421774+00:00, sha 3ae5d2717c85)
- Data as of 2026-08-30T08:39:29.467469+00:00.
