Documentation / Contents

Developer Guide

Read the guide in order, or jump to the chapter you need.

Preface

  1. Preface

Getting started

  1. Introduction
  2. Maven Project Workflow
  3. Gradle project workflow

Core concepts

  1. The EDT - Event Dispatch Thread
  2. Events
  3. Device Input and Form Factors

User interface

  1. Basics: Themes, styles, components, and layouts
  2. The components of Codename One
  3. Component selector
  4. Rich Text and Code Editing
  5. Scheduling and Gantt charts
  6. Data grids and tree tables
  7. Presentations
  8. Node graphs
  9. Kanban boards
  10. Accessibility Semantics
  11. Animations

Theming and styling

  1. Advanced theming
  2. Native modern themes
  3. CSS

Graphics and games

  1. Graphics, drawing, images, and fonts
  2. Build-Time Vector & Animation Images
  3. Graphics Documents: SVG, PSD, Sketch and Figma at Run Time
  4. 3D Graphics and Shaders
  5. Augmented Reality
  6. Virtual Reality and 360 Media
  7. Game Development
  8. The Game Builder
  9. Game Assets
  10. Running Flutter applications

Data, media and networking

  1. File system, storage, network, and parsing
  2. Desktop and Backend Processes
  3. Deeper Network Connectivity
  4. JSON / XML Object Mapping
  5. Component Binding
  6. SQLite ORM
  7. Media and Audio
  8. Video encoding & decoding (VideoIO)
  9. Video capture constraints API

Server side

  1. Server-side backend
  2. Backend controllers, contracts and WebSockets
  3. Compiled HTML views
  4. Backend beans and dependency injection
  5. Backend testing
  6. Backend data access and transactions
  7. Backend sessions
  8. Backend security
  9. Backend scheduling and background work
  10. Backend caching and messaging
  11. Backend email
  12. Backend object storage
  13. Serving maps from your backend
  14. Backend tracing, metrics and management
  15. Backend GraphQL
  16. Backend gRPC
  17. Backend MCP and the agent loop
  18. Backend performance, deployment and limits
  19. Deploying an application end to end
  20. Command-line applications
  21. Wayline: A ride-hailing app from three sides
  22. Wayline: Building on the sample
  23. Savor: A food-delivery app from four sides
  24. Savor: Building on the sample
  25. Bazaar: A commerce platform from four sides
  26. Bazaar: Building on the sample
  27. Extending Bazaar with apps
  28. Bazaar: Feature comparison
  29. Skirmish: Making the game your own
  30. Dash: Making the runner your own
  31. Splat: Making the paintball game your own
  32. Papercut: Making the arena shooter your own
  33. Brickyard: A game platform where players make the games
  34. Parley: A private messenger from three sides
  35. Parley: Building on the sample
  36. Reel: A streaming service from four sides
  37. Reel: Building on the sample
  38. Bastion: A bank that shows its locks
  39. Bastion: Building on the sample
  40. Pulse: A fitness studio app from every side
  41. Pulse: Building on the sample
  42. Slate: An appointment booking app from every side
  43. Slate: Building on the sample
  44. Fieldline: A field service app from every side
  45. Fieldline: Building on the sample

Device and platform services

  1. Push notifications
  2. Notifications and Background Execution
  3. Calendar integration
  4. External Surfaces: Widgets and Live Activities
  5. Maps
  6. In-Car Experiences (CarPlay & Android Auto)
  7. Motion Sensors
  8. Near-Field Communication (NFC)
  9. Bluetooth
  10. Nearby Devices
  11. Call Management
  12. Real-Time Audio and Video
  13. VPN
  14. Health
  15. Smart Home
  16. Printing
  17. PDF documents
  18. Deep-Link Routing
  19. State Restoration and Continuity
  20. App Intents: Siri, Spotlight and Shortcuts
  21. Document Provider
  22. Apple Wallet Extension
  23. Miscellaneous features

AI and agents

  1. AI, Chat UI, and Speech
  2. MCP Headless API
  3. Shipping from an AI agent: The BuildCloud MCP server

Security and identity

  1. Security
  2. Crypto wallets
  3. App Shield
  4. App Hardening
  5. Biometric Authentication
  6. Authentication and Identity
  7. Phone Number Verification

Monetization and analytics

  1. Commerce
  2. Monetization
  3. Advertising
  4. Analytics
  5. Distributed tracing with OpenTelemetry
  6. App Review & Feedback
  7. Crash Protection

Testing, performance and debugging

  1. Testing with JUnit 5
  2. Performance, size & debugging
  3. On-Device Debugging (iOS)
  4. On-Device Debugging (Android)
  5. Android without Google Play Services

Build, sign and ship

  1. Build hints reference
  2. Signing, certificates & provisioning
  3. App Store Submission and Deployment

Platform guides

  1. Working with iOS
  2. Working with JavaScript
  3. Running Android applications
  4. Running Unity 2D games
  5. Writing applications and backends in Python
  6. Running Swing and JavaFX applications
  7. Running Kotlin Multiplatform and Compose applications
  8. Working with macOS
  9. Working with the native Windows port
  10. Working with the native Linux port
  11. Embedded Linux devices
  12. Embedded Windows devices
  13. Publishing to Steam
  14. Real-time threads
  15. Desktop Integration
  16. Desktop Windows
  17. Wearables (Apple Watch and Wear OS)
  18. Television (Apple TV and Android TV)

Under the hood

  1. Advanced topics/under the hood
  2. Java in the browser: The Playground compiler and the self-hosted translator
  3. Working with Codename One sources
  4. Skin Designer
  5. Design Import

Appendices

  1. Promises
  2. Plugins
  3. Project archetypes
  4. Maven goals
  5. API
  6. Codename One Settings
  7. Rich properties file (rpf) format
  8. Gaming consoles

Historical reference

  1. Working with UWP