Paul Krill
Editor at Large

OSGi successes cited for Android

news
Mar 19, 20082 mins

Technologist stress that still more needs to be done to get Eclipse's Equinox, Apache Felix, and Concierge OSGi implementations accommodated on Android

OSGi runtime software, which serves as a critical cog in the Eclipse Foundation’s open source tools platform, has been enabled to run with the Android SDK for mobile applications. But proponents still could use assistance via APIs from those in charge of the Google-backed Android initiative.

Technologists presenting at the EclipseCon 2008 conference in Santa Clara, Calif. Tuesday afternoon cited industry successes in making OSGi run on Android. OSGi is an enabler in the Eclipse plug-in model for software development. By having OSGi on Android, applications written to use OSGi, such as Eclipse-based applications, could be brought over to Android handsets.

“The question is can we run OSGi on Android,” said Neil Bartlett, Java developer and consultant. “The answer is, yes it can.”

During the session and in separate interviews, the technologists noted successes in proof of concepts demonstrating that OSGi runtimes can run with Android SDK.

“[OSGI is] a core part of Eclipse so we wanted to do an experiment to see what are the issues involved,” said BJ Hargave, senior technical staff member in the IBM Software Group.

OSGi and Android present contrasting models – OSGi follows a single virtual machine model with multiple applications using the VM while Android has multiple VMs, Bartlett said. But work has been done to get the Eclipse’s Equinox, Apache Felix, and Concierge OSGi implementations accommodated on Android, presenters noted. Luminis has worked on the Apache Felix port.

But areas have not been explored such as integrating with the UI part of Android, Hargrave said. “We basically were looking at the lowest layers,” he said.

Persons at Luminis were able to find a private class to enable Android to load classes necessary for OSGi, but there is no public API for it, said Hargrave. “Since it’s not a public API, it’s difficult to rely upon,” he said. The ability to dynamically load classes in Android is unspecified.

Google and the Open Handset Alliance, which oversee Android, could not be reached for comment on Tuesday afternoon.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author