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. Building Platformer Games
  11. 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. Ledge: Making the platformer your own
  34. Brickyard: A game platform where players make the games
  35. Parley: A private messenger from three sides
  36. Parley: Building on the sample
  37. Reel: A streaming service from four sides
  38. Reel: Building on the sample
  39. Bastion: A bank that shows its locks
  40. Bastion: Building on the sample
  41. Pulse: A fitness studio app from every side
  42. Pulse: Building on the sample
  43. Slate: An appointment booking app from every side
  44. Slate: Building on the sample
  45. Fieldline: A field service app from every side
  46. Fieldline: Building on the sample
  47. Lingo: A language learning app from every side
  48. Lingo: 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. Codename One Instant
  3. Working with JavaScript
  4. Running Android applications
  5. Running Unity 2D games
  6. Writing applications and backends in Python
  7. Running Swing and JavaFX applications
  8. Running Kotlin Multiplatform and Compose applications
  9. Working with macOS
  10. Working with the native Windows port
  11. Working with the native Linux port
  12. Embedded Linux devices
  13. Embedded Windows devices
  14. Publishing to Steam
  15. Real-time threads
  16. Desktop Integration
  17. Desktop Windows
  18. Wearables (Apple Watch and Wear OS)
  19. 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