Google Confirms Next Android Version Won't Use Oracle's Proprietary Java APIs
An anonymous reader writes: Google is ditching the Java application programming interfaces (APIs) in Android and moving to only OpenJDK. The news first came by a "mysterious Android codebase commit" from last month submitted to Hacker News. Google confirmed to VentureBeat that Android N will rely solely on OpenJDK. “As an open-source platform, Android is built upon the collaboration of the open-source community,” a Google spokesperson told VentureBeat. “In our upcoming release of Android, we plan to move Android’s Java language libraries to an OpenJDK-based approach, creating a common code base for developers to build apps and services. Google has long worked with and contributed to the OpenJDK community, and we look forward to making even more contributions to the OpenJDK project in the future.”
If you're developing for Android it is worth checking out Kotlin along with the Anko libs from Jetbrains.
Kotlin, by the company that provides the Android Studio platform, is built on the Java platform and adds a modern, fashionable multi-paradigm (OO, functional) syntax, fixes some gaps in the Java standard libs, adds optionals that are (IMHO) easier to read than Swift's. It seems to be the best bet for getting a modern, fashionable language on Android, ie does not add to download size, seamless operation with other libs, etc.
You can also use Kotlin as a backend language, eg with Spring Boot, and it compiles to JavaScript too, so can be used client-side. You could even use it on iOS if you wanted, with RoboVM.
I've spent the last few years developing focusing almost 100% on iOS, but am willing to give Android another try in 2016
.
If it acquires resources on instantiation like a duck, then its a shared_ptr<Duck>
The difference between OpenJDK and Java JDK is meaningless (In Android), so nothing will break
If that's true, why haven't they been using it all along? The first commercial Android phone was unveiled in late 2008. The OpenJDK class library was pretty complete by then.
Breakfast served all day!