3rd party extensions for Codename One apps
Shell
Pull request Compare This branch is 44 commits ahead of chen-fishbein:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cn1libs
.gitattributes
.gitignore
CN1Libs.xml
README.md
genjavadoc.sh

README.md

Codename One Libs

Codename One cn1libs are a binary format based on ZIP that allows developers to write generic Codename One code in the same way JAR's work in standard Java.

However, unlike the jar file format cn1libs allow developers to embed native code for the various mobile platforms. They also include a beavy of other features such as proper code completion (with javadoc highlighting).

This is a generic repository containing an index and cached versions of such libraries, you can browse this repository directly from the Codename One settings UI as it's contents is mirrored periodically to the Codename One servers.

Building a cn1lib

Check out the developer guide section that covers native interfaces and the process of creating a cn1ib.

Generally cn1libs are created via the IDE's by creating a new Codename One library and building it.

Adding Your Own cn1lib

If you are the author of a cn1lib and want it to be listed here go thru the following steps:

  • Star and fork this project
  • In your fork drag the cn1lib file into the cn1libs directory
  • In the CN1Libs.xml file click the edit button and add an entry for your lib
  • Commit your changes and press the Pull Request button in your fork, follow the process to submit that pull request to us

A few things to keep in mind when adding an entry:

  • Version is an integer value to help us identify that the library has changed. If you just want to submit an update then just follow the same steps and replace the version number.
  • The name is case sensitive and uniquely identifies your library. Don't change the case and make sure the name is correct