Skip navigation links
Packages 
Package Description
com.codename1.ads
The Ads API allows developers to add Ads to their apps
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.capture
Package for capturing photos, audio or video from the camera/microphone.
com.codename1.cloud
Provides cloud related services such as storage, binding widgets to the cloud seamlessly so they can be persisted easily.
com.codename1.codescan
Bar/QR code scanning API, currently based on the zxing implementation
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
com.codename1.db
SQLite support.
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.io
Codename One IO is intended as a componentized solution for IO operations that allows us to centralize IO logic while maintaining a more portable approach for threads.
com.codename1.io.gzip
gzip support based on https://github.com/ymnk/jzlib
com.codename1.io.services
Default WebService implementations
com.codename1.javascript
The Codename One JS Bridge package includes classes that facilitate the interaction between Java and Javascript in a Codename One application.
com.codename1.l10n
The Localization API allows developers to adapt their applications to different geographic locales and conventions.
com.codename1.location
Simple abstraction of location services (GPS/Triangulation) providing user global positioning and monitoring over such changes.
com.codename1.maker
Contains the set of API's that allows developers to build plugins for the Codename One Maker tool.
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 Media/Media manager APIs.
com.codename1.messaging
This API allows to send e-mail messages through underlying platforms e-mail clients.
com.codename1.payment
In-App Billing/Purchase API's are abstracted by this package.
com.codename1.processing
IO Related tools and utilities, e.g.
com.codename1.push
Push notification support using either device specific protocols when available
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.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 Container to arrange its components by a set of rules that would be adapted for specific screen/font sizes.
com.codename1.ui.list
Lists are highly customizable and serve as the basis for ComboBox and other components (such as carousels etc) they employ a similar MVC approach to Swing including the renderer pattern.
com.codename1.ui.painter
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.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.util
General utilities classes
com.codename1.xml
The XML package allows parsing XML documents into DOM objects.
com.sun.lwuit
Main widget package containing the component/container "composite" similar both in terminology and design to Swing/AWT.
com.sun.lwuit.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.sun.lwuit.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.sun.lwuit.geom
Contains classes related to geometry locations and calculations such as rectangle and size
com.sun.lwuit.html
The HTML package allows rendering XHTML-MP 1.0 documents including WCSS support.
com.sun.lwuit.layouts
Layout managers allow a Container to arrange its components by a set of rules that would be adapted for specific screen/font sizes.
com.sun.lwuit.list
Lists are highly customizable and serve as the basis for ComboBox and other components (such as carousels etc) they employ a similar MVC approach to Swing including the renderer pattern.
com.sun.lwuit.misc  
com.sun.lwuit.painter
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.sun.lwuit.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.sun.lwuit.spinner
Spinners allows picking of simple sequential values similarly to combo boxes but of a much wider value set.
com.sun.lwuit.table
Table component for editing and viewing tabular data and arranging LWUIT components in a tabular form
com.sun.lwuit.tree
Tree component for displaying hierarchy based information and its related classes
com.sun.lwuit.util
Utility features that are either too domain specific or don't "fit" into any other packages.
java.awt  
java.awt.event  
java.awt.font  
java.awt.im  
java.awt.image  
java.io
Provides for system input and output through data streams, serialization and the file system.
java.lang
Provides classes that are fundamental to the design of the Java programming language.
java.lang.annotation
Provides library support for the Java programming language annotation facility.
java.lang.invoke
The java.lang.invoke package contains dynamic language support provided directly by the Java core class libraries and virtual machine.
java.lang.ref
Provides reference-object classes, which support a limited degree of interaction with the garbage collector.
java.lang.reflect
Provides classes and interfaces for obtaining reflective information about classes and objects.
java.math
Provides classes for performing arbitrary-precision integer arithmetic (BigInteger) and arbitrary-precision decimal arithmetic (BigDecimal).
java.net
Provides the classes for implementing networking applications.
java.nio
Defines buffers, which are containers for data, and provides an overview of the other NIO packages.
java.nio.channels
Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations.
java.nio.channels.spi
Service-provider classes for the java.nio.channels package.
java.nio.charset
Defines charsets, decoders, and encoders, for translating between bytes and Unicode characters.
java.nio.charset.spi
Service-provider classes for the java.nio.charset package.
java.nio.file
Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.
java.nio.file.attribute
Interfaces and classes providing access to file and file system attributes.
java.nio.file.spi
Service-provider classes for the java.nio.file package.
java.rmi
Provides the RMI package.
java.rmi.activation
Provides support for RMI Object Activation.
java.rmi.dgc
Provides classes and interface for RMI distributed garbage-collection (DGC).
java.rmi.registry
Provides a class and two interfaces for the RMI registry.
java.rmi.server
Provides classes and interfaces for supporting the server side of RMI.
java.security
Provides the classes and interfaces for the security framework.
java.security.cert
Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths.
java.security.interfaces
Provides interfaces for generating RSA (Rivest, Shamir and Adleman AsymmetricCipher algorithm) keys as defined in the RSA Laboratory Technical Note PKCS#1, and DSA (Digital Signature Algorithm) keys as defined in NIST's FIPS-186.
java.security.spec
Provides classes and interfaces for key specifications and algorithm parameter specifications.
java.sql
Provides the API for accessing and processing data stored in a data source (usually a relational database) using the JavaTM programming language.
java.text
Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages.
java.text.spi
Service provider classes for the classes in the java.text package.
java.time
The main API for dates, times, instants, and durations.
java.time.chrono
Generic API for calendar systems other than the default ISO.
java.time.format
Provides classes to print and parse dates and times.
java.time.temporal
Access to date and time using fields and units, and date time adjusters.
java.time.zone
Support for time-zones and their rules.
java.util
Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).
java.util.concurrent
Utility classes commonly useful in concurrent programming.
java.util.concurrent.atomic
A small toolkit of classes that support lock-free thread-safe programming on single variables.
java.util.concurrent.locks
Interfaces and classes providing a framework for locking and waiting for conditions that is distinct from built-in synchronization and monitors.
java.util.function
Functional interfaces provide target types for lambda expressions and method references.
java.util.jar
Provides classes for reading and writing the JAR (Java ARchive) file format, which is based on the standard ZIP file format with an optional manifest file.
java.util.logging
Provides the classes and interfaces of the JavaTM 2 platform's core logging facilities.
java.util.regex
Classes for matching character sequences against patterns specified by regular expressions.
java.util.spi
Service provider classes for the classes in the java.util package.
java.util.stream
Classes to support functional-style operations on streams of elements, such as map-reduce transformations on collections.
java.util.zip
Provides classes for reading and writing the standard ZIP and GZIP file formats.
javax.crypto
Provides the classes and interfaces for cryptographic operations.
javax.crypto.interfaces
Provides interfaces for Diffie-Hellman keys as defined in RSA Laboratories' PKCS #3.
javax.crypto.spec
Provides classes and interfaces for key specifications and algorithm parameter specifications.
javax.microedition.io
The package provides basic IO features for J2ME.
javax.microedition.io.file  
javax.microedition.xlet  
javax.microedition.xlet.ixc  
javax.net
Provides classes for networking applications.
javax.net.ssl
Provides classes for the secure socket package.
javax.script
The scripting API consists of interfaces and classes that define Java TM Scripting Engines and provides a framework for their use in Java applications.
javax.security.auth
This package provides a framework for authentication and authorization.
javax.security.auth.callback
This package provides the classes necessary for services to interact with applications in order to retrieve information (authentication data including usernames or passwords, for example) or to display information (error and warning messages, for example).
javax.security.auth.login
This package provides a pluggable authentication framework.
javax.security.auth.spi
This package provides the interface to be used for implementing pluggable authentication modules.
javax.security.auth.x500
This package contains the classes that should be used to store X500 Principal and X500 Private Credentials in a Subject.
javax.security.cert
Provides classes for public key certificates.
javax.sql
Provides the API for server side data source access and processing from the JavaTM programming language.
javax.transaction
Contains three exceptions thrown by the ORB machinery during unmarshalling.
javax.transaction.xa
Provides the API that defines the contract between the transaction manager and the resource manager, which allows the transaction manager to enlist and delist resource objects (supplied by the resource manager driver) in JTA transactions.
javax.xml  
javax.xml.datatype
XML/Java Type Mappings.
javax.xml.namespace
XML Namespace processing.
javax.xml.parsers
Provides classes allowing the processing of XML documents.
javax.xml.stream  
javax.xml.stream.events  
javax.xml.stream.util  
javax.xml.transform
This package defines the generic APIs for processing transformation instructions, and performing a transformation from source to result.
javax.xml.transform.dom
This package implements DOM-specific transformation APIs.
javax.xml.transform.sax
This package implements SAX2-specific transformation APIs.
javax.xml.transform.stax
Provides for StAX-specific transformation APIs.
javax.xml.transform.stream
This package implements stream- and URI- specific transformation APIs.
javax.xml.validation
This package provides an API for validation of XML documents.
javax.xml.xpath
This package provides an object-model neutral API for the evaluation of XPath expressions and access to the evaluation environment.
org.w3c.dom
Provides the interfaces for the Document Object Model (DOM).
org.w3c.dom.bootstrap  
org.w3c.dom.events  
org.w3c.dom.ls  
org.xml.sax
This package provides the core SAX APIs.
org.xml.sax.ext
This package contains interfaces to SAX2 facilities that conformant SAX drivers won't necessarily support.
org.xml.sax.helpers
This package contains "helper" classes, including support for bootstrapping SAX-based applications.
Skip navigation links