Packages
Package
Description
com.codename1.ads
A legacy banner Ads API.
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
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.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
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
com.codename1.codescan
Deprecated!!: Please use the cn1-codescan library instead.
com.codename1.compat.java.util
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.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.io
Networking, Storage, Filesystem & related API's
com.codename1.io.gzip
gzip support based on https://github.com/ymnk/jzlib
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.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.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.notifications
Local Notification API
com.codename1.payment
In-App Billing/Purchase API's are abstracted by this package.
com.codename1.plugin
com.codename1.plugin.event
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.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 `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
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
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.