News

Write Windows 8 Apps in Native Java

Developers use Codename One to create all components from scratch, instead of using native widgets, to avoid fragmentation.

If you're a Java developer but want to write apps for Windows mobile devices, you have a new option.

With Windows 8 due out in late October, and with it a slew of Windows 8 phones and tablets, developers can target a platform that has much less competition as compared to Android and iOS.

Codename One, an Israel-based startup founded by two former Sun Microsystems engineers, said this week that its new mobile, cross-platform software development kit (SDK) is now compatible with Windows Phone and tablet devices. When the beta was announced in July, the toolkit already supported development on iOS, Android, Blackberry and Windows 7. The company released the SDK in August.

The company's Java-based, open source SDK is a lightweight tool designed to allow Java devs to create native apps for multiple mobile and tablet platforms with a single code base. The SDK combines an IDE plugin, a visual designer tool, a client library, simulator environments for phones and tablets, a build server, and cloud provisioning services. The company describes its API as "a vast abstraction of mobile device platforms" combined with "rich portable functionality."

Developers use Codename One to create all components from scratch, instead of using native widgets, to avoid fragmentation. The company argues that this approach also supports more accurate desktop simulation of mobile applications.

The company's two founders, Chen Fishbein and Shai Almog, both worked for Sun Microsystems. Fishbein began developing the Lightweight User Interface Toolkit (LWUIT) as an internal project for Sun. The project was launched to address the challenge of writing "appealing cross platform mobile applications," according to the java.net project summary. Almog joined the effort, which was announced in 2008. Sun open sourced the project, licensing it under the GPL with ClassPath Exception. LUWIT, better known as the Lightweight UI Toolkit for Java ME, is now a subproject of the Mobileandembedded project. 

The Codename One SDK is open source and free for commercial use. It can be downloaded now from the company website.

In related news, Codename One this week disclosed a new partnership with Vserv.mobi, a mobile advertising network for application developers. "We believe that Vserv's ability to seamlessly enable app monetization without any coding effort is an invaluable feature for developers," said Almog in a statement. "Our aim is to jointly bring a truly differentiated value proposition to accelerate the innovation cycle in the mobile ecosystem."

About the Author

John K. Waters is the editor in chief of a number of Converge360.com sites, with a focus on high-end development, AI and future tech. He's been writing about cutting-edge technologies and culture of Silicon Valley for more than two decades, and he's written more than a dozen books. He also co-scripted the documentary film Silicon Valley: A 100 Year Renaissance, which aired on PBS.  He can be reached at [email protected].

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube