Codename One Adds Cross-Device Continuity and Native Drag-and-Drop Support

Open-source framework Codename One has introduced two new features this week: cross-device continuity and native drag-and-drop functionality for apps built from a single Java or Kotlin codebase. The continuity feature allows users to seamlessly resume tasks — such as editing a draft — across different devices or screens without losing progress. It works by serializing navigation routes and application state through a StateProvider interface, supporting Apple Handoff, iCloud, and custom application-defined relays. Native drag-and-drop enables content to be shared between applications via the operating system, offering an alternative to copy-paste workflows. Developers are advised to keep state payloads small and avoid storing sensitive credentials, as restored routes identify work but do not bypass authentication checks.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in