This demo is based on the Property Cross project which aims to compare the differences between various cross platform solutions. It demonstrates how unlike other solutions Codename One maintains a single code base to produce native applications.
The demo is a simple yet common application type that deals with webservices, infinite lists, image thumbnails, search, favorites & caching policy.
You can try the native demo on an Android device here and also check out the live in browser version of the demo. The latter uses the Codename One JavaScript port to build the unmodified demo into a web app.
The code within this project is unlicensed and free for use in any way you see fit.