# All Packages

Package Summary
Package
Description
com.codename1.ads
The modern, pluggable Codename One advertising API.
com.codename1.ads.spi
Service provider interface (SPI) for the Codename One advertising API.
com.codename1.ai
Codename One's AI / LLM client surface plus the value types, streaming primitives, and chat-binding helpers that sit on top of it.
com.codename1.analytics
The analytics API allows tracking your mobile application usage in the field to give you real-time data on how your application is used.
com.codename1.annotations
Codename One specific Java annotations used by the build pipeline and the ParparVM bytecode translator to mark methods and classes for special treatment -- e.g.
com.codename1.annotations.graphql
com.codename1.annotations.grpc
gRPC-Web client annotations.
com.codename1.annotations.rest
com.codename1.background
Background fetch is a mechanism whereby an application is granted permission by the operating system to update its data periodically.
com.codename1.binding
Runtime entry points for the build-time component-binding framework.
com.codename1.camera
com.codename1.capture
Package for capturing photos, audio or video from the camera/microphone.
com.codename1.charts
The main ChartComponent Package
com.codename1.charts.compat
This package contains compatibility classes for internal use
com.codename1.charts.models
Provides the classes that handle the data values (data model) to be used by displaying the charts.
com.codename1.charts.renderers
Provides renderer classes that keep the chart rendering / drawing styles.
com.codename1.charts.transitions
Animated transitions between chart series states.
com.codename1.charts.util
Utility classes that provide helper methods used by most of the other packages.
com.codename1.charts.views
Provides the classes that handle the actual rendering / drawing of the charts, based on the provided model and renderer.
com.codename1.cloud
Legacy cloud / property-binding hooks.
com.codename1.codescan
Deprecated!!: Please use the cn1-codescan library instead.
com.codename1.compat.java.util
Compatibility shims for `java.util` APIs that are not available on every Codename One target.
com.codename1.components
Generic elaborate components that make use of both UI elements and storage.
com.codename1.contacts
Provides access to the contacts list from the device address book
com.codename1.db
SQLite database access API
com.codename1.facebook
Legacy generic implementation of the Facebook API with simplified OAuth integration to allow social sharing.
com.codename1.facebook.ui
User interface for integrating with basic Facebook features currently mostly the Like button
com.codename1.gaming
Game oriented APIs for Codename One.
com.codename1.gaming.physics
2D rigid body physics for Codename One games.
com.codename1.gaming.physics.box2d.callbacks
com.codename1.gaming.physics.box2d.collision
com.codename1.gaming.physics.box2d.collision.broadphase
com.codename1.gaming.physics.box2d.collision.shapes
com.codename1.gaming.physics.box2d.common
com.codename1.gaming.physics.box2d.dynamics
com.codename1.gaming.physics.box2d.dynamics.contacts
com.codename1.gaming.physics.box2d.dynamics.joints
com.codename1.gaming.physics.box2d.pooling
com.codename1.gaming.physics.box2d.pooling.arrays
com.codename1.gaming.physics.box2d.pooling.normal
com.codename1.gaming.physics.box2d.pooling.stacks
com.codename1.gpu
com.codename1.impl
The implementation package should not be used by developers, it is an internal implementation detail which will break compatibility between major Codename One releases.
com.codename1.impl.gpu
com.codename1.io
Networking, Storage, Filesystem & related API's
com.codename1.io.bonjour
Bonjour / mDNS-SD service discovery and publication.
com.codename1.io.graphql
GraphQL client runtime.
com.codename1.io.grpc
gRPC-Web client runtime.
com.codename1.io.gzip
gzip support based on https://github.com/ymnk/jzlib
com.codename1.io.oidc
OpenID Connect (OIDC) client with PKCE.
com.codename1.io.rest
Simplified REST API
com.codename1.io.services
Default WebService implementations
com.codename1.io.tar
Tar support allowing us to package multiple separate files into a single package which is useful in supporting hierarchies in a portable way.
com.codename1.io.usb
USB host-mode device access.
com.codename1.io.webauthn
WebAuthn / passkey client.
com.codename1.io.wifi
WiFi inspection, scanning, connection and peer-to-peer (WiFi Direct).
com.codename1.javascript
NOTE: The `com.codename1.javascript` package is now deprecated.
com.codename1.l10n
The Localization API allows developers to adapt their applications to different geographic locales and conventions.
com.codename1.location
Abstraction of location services (GPS/Geofencing etc.) providing user global positioning and monitoring over such changes both in the foreground and background.
com.codename1.mapping
Runtime entry points for the build-time JSON / XML mapping framework.
com.codename1.maps
The mapping API allows developers to use maps in their applications, add layers on top of the map and to enhance the API with additional Layers, Providers and functionality.
com.codename1.maps.layers
The Layers are elements that are displayed on the map.
com.codename1.maps.providers
These are the map providers, currently http://www.openstreetmap.org/ is supported.
com.codename1.media
Video and Audio playback support are handled within this package using the `com.codename1.media.Media` & `com.codename1.media.MediaManager` APIs.
com.codename1.messaging
Send e-mail messages through underlying platforms e-mail clients or thru the Codename One cloud.
com.codename1.nfc
Near Field Communication (NFC) API: read and write NDEF messages, exchange APDUs with contactless smart cards, and host-emulate as a card.
com.codename1.notifications
Local Notification API
com.codename1.orm
Runtime entry points for the build-time SQLite ORM.
com.codename1.payment
In-App Billing/Purchase API's are abstracted by this package.
com.codename1.plugin
Plugin SPI for extending core framework behaviour without subclassing.
com.codename1.plugin.event
Typed events dispatched to plugins.
com.codename1.printing
Cross platform printing: hand a PDF or image file to the platform printing system, which shows the native print dialog where the user picks a printer and confirms the job.
com.codename1.processing
XPath based expression language designed to assist in JSON/XML parsing/generating
com.codename1.properties
High level property objects that allow us to replace getters/setters in business objects with more convenient storage/parsing mappings while retaining type safety.
com.codename1.push
Push notification support using either device specific protocols when available
com.codename1.router
Pop-navigation and deep-link routing support.
com.codename1.security
Cryptographic primitives and conveniences: hashing, message authentication, symmetric/asymmetric encryption, digital signatures, JWTs, OTPs and random number generation.
com.codename1.share
Sharing services, that can be registered on the ShareButton
com.codename1.social
Connectors for native social network SDK's
com.codename1.system
Low level calls into the Codename One system, including support for making platform native API calls.
com.codename1.testing
This package contains everything necessary for unit tests, automation of tests and everything in between.
com.codename1.ui
Main widget package containing the component/container "composite" similar both in terminology and design to Swing/AWT.
com.codename1.ui.animations
All components are animatable by potential and additional animations (unrelated to a specific component) can be installed on the fly, transitions between forms are also handled as part of this package.
com.codename1.ui.css
Runtime CSS theme compilation.
com.codename1.ui.events
Observable pattern event listeners in the spirit of AWT 1.1's event dispatching architecture, all events are dispatched on the EDT (Event Dispatch Thread).
com.codename1.ui.geom
Contains classes related to geometry locations and calculations such as rectangle and size
com.codename1.ui.html
This package is deprecated and used only for legacy support, use the WebBrowser component from the components package.
com.codename1.ui.layouts
Layout managers allow a `com.codename1.ui.Container` to arrange its components by a set of rules that adapt to specific densities (ppi - pixels per inch).
com.codename1.ui.layouts.mig
Codename One port of the MiG Layout manager.
com.codename1.ui.list
Lists are highly customizable and serve as the basis for `com.codename1.ui.ComboBox` and other components (such as carousels etc) they employ a similar MVC approach to Swing including the renderer pattern, notice that we strongly discourage usage of lists...
com.codename1.ui.painter
`com.codename1.ui.Painter` allows us to draw arbitrary elements of graphics from plain/scaled/tiled images to gradients and pretty much any form of graphic drawing we can imagine.
com.codename1.ui.plaf
Look of the application can be fully customized via this package, it represents a rendering layer that can be plugged in separately in runtime and themed to provide any custom look.
com.codename1.ui.scene
This package provides a light-weight scene graph for Codename One.
com.codename1.ui.spinner
Spinners allows picking of simple sequential values similarly to combo boxes but of a much wider value set.
com.codename1.ui.table
Table component for editing and viewing tabular data and arranging Codename One components in a tabular form
com.codename1.ui.tree
Tree component for displaying hierarchy based information and its related classes
com.codename1.ui.util
Utility features that are either too domain specific or don't "fit" into any other packages including the Resource file format loading API.
com.codename1.ui.validation
The validation framework allows us to mark invalid input in text components and disable components in the case of invalid input
com.codename1.util
General utilities classes
com.codename1.util.promise
JavaScript-style `Promise` for asynchronous Codename One code.
com.codename1.util.regex
A simple regular expression API that is portable across all platforms
com.codename1.xml
The XML package allows parsing XML documents into DOM objects.
java.io
java.lang
java.lang.annotation
java.lang.invoke
java.lang.ref
java.lang.reflect
java.net
java.nio.charset
java.text
java.time
java.time.format
java.time.temporal
java.util
java.util.concurrent
java.util.concurrent.atomic
java.util.function
java.util.stream