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

  • Mastering Blazor Authentication and Authorization

    At the Visual Studio Live! @ Microsoft HQ developer conference set for August, Rockford Lhotka will explain the ins and outs of authentication across Blazor Server, WebAssembly, and .NET MAUI Hybrid apps, and show how to use identity and claims to customize application behavior through fine-grained authorization.

  • Linear Support Vector Regression from Scratch Using C# with Evolutionary Training

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the linear support vector regression (linear SVR) technique, where the goal is to predict a single numeric value. A linear SVR model uses an unusual error/loss function and cannot be trained using standard simple techniques, and so evolutionary optimization training is used.

  • Low-Code Report Says AI Will Enhance, Not Replace DIY Dev Tools

    Along with replacing software developers and possibly killing humanity, advanced AI is seen by many as a death knell for the do-it-yourself, low-code/no-code tooling industry, but a new report belies that notion.

  • Vibe Coding with Latest Visual Studio Preview

    Microsoft's latest Visual Studio preview facilitates "vibe coding," where developers mainly use GitHub Copilot AI to do all the programming in accordance with spoken or typed instructions.

  • Steve Sanderson Previews AI App Dev: Small Models, Agents and a Blazor Voice Assistant

    Blazor creator Steve Sanderson presented a keynote at the recent NDC London 2025 conference where he previewed the future of .NET application development with smaller AI models and autonomous agents, along with showcasing a new Blazor voice assistant project demonstrating cutting-edge functionality.

Subscribe on YouTube