dalvik
Latest
The next version of Android will enhance battery life, speed up apps
Several months ago, Google added an experimental runtime option to speed up apps in Android 4.4 KitKat. A runtime, for the record, supports the apps running on your device -- without it they'd be nothing but piles of useless code. Called ART (short for Android Runtime), that same mode will become the default when Mountain View releases the next version of its operating system. Developers spotted tweaks to Android's open-source code indicating the upcoming change, and the update looks to be a positive one. Without getting bogged down in details, ART essentially makes apps run faster and more efficiently, with the downside being that they'll take up slightly more space on your phone, as well as lengthier install times.
Sarah Silbert06.19.2014'ART' experiment in Android KitKat improves battery life and speeds up apps
Efforts have been made to speed up the Dalvik runtime that underscores most Android apps, but sometimes the best fix is a replacement. Google's working on it, albeit experimentally. Baked into Android 4.4 is ART, a new runtime option that aims to redesign how Android interprets application code. The specifics are pretty granular if you're not a developer, but it's hard to argue with results: early tests show that ART could cut execution time in half for many applications. This means apps will launch and run faster, react quicker and demand less of your device's processor - potentially improving battery life. The trade-off? Installing applications might take a little longer and they will probably take up a bit more storage space. Sounds like a worthy exchange to us.
Sean Buckley11.06.2013Xamarin's XobotOS opens prospect of Android port to C#, can of worms
Would it be ironic if Android developers did an end-run around Microsoft patents by using Microsoft's own C#? Or if Google kiboshed its Oracle brouhaha with the aid of none other than Redmond? We're asking because Xamarin, the wacky open source implementer of .NET, has ported Android to Microsoft's C# with its XobotOS project. Although just an experiment and unlikely to solve Google's issues, the team showed that running the robot on C# instead of Java gave fewer coding limitations, better battery life and direct graphics access. Additionally, Xamarin reports "massive" speed gains on its HTC Flyer and Acer Iconia when running the side-project port -- no surprise given C#'s machine heritage. Sure, it's pure speculation that Mountain View and its developers would ever change their Java MO, but a little patent relief and faster Android devices in one kill shot? That's a sweet idea.
Steve Dent05.04.2012Hands-on with Myriad's Alien Dalvik 2.0 on an iPad (video)
Last week, Myriad outed its plans to unveil Alien Dalvik 2.0 -- which works on iOS -- at CTIA, which starts today. But, knowing our readers would be champing at the bit to see it in action a little early, we got an exclusive sneak preview of the software for you right now. As a quick refresher, Alien Dalvik's a custom bit of code that lets you run unaltered Android apps on a non-Android OS, like Maemo or MeeGo. This new version brings that same black magic to iDevices (and just about anything else), so head on past the break for more about Myriad bringing Apple and Android together in app harmony.
Michael Gorman10.10.2011OpenMobile demos ACL for MeeGo, promises 100 percent compatibility with Android apps (video)
OpenMobile is a new company on the application compatibility scene whose primary product, the Application Compatibility Layer, promises to bring Android's large volume of apps to smaller platforms. In the following video, ACL is shown running on MeeGo, where the creators promise full compatibility with every Android app -- without the need for developer modification -- by leveraging Google's runtime environment and Dalvik VM. While support for Intel and Nokia's misbegotten lovechild is first out the door (along with Linux itself), the company plans to introduce similar versions for Bada, QNX, Symbian, WebOS and Windows. Like its competitor, Alien Dalvik, OpenMobile is positioning its Application Compatibility Layer to OEM manufacturers rather than consumers. Unfortunately, this eliminates any hope you might've had for installing Hanging with Friends on that N9 you've pre-ordered -- unless OpenMobile's able to convince the folks in Espoo with a mighty good sales pitch, anyway. [Thanks, Mikko]
Zachary Lutz09.22.2011Open source project brings Android apps to iOS with 'Hello world' panache (video)
Ever think you'd see Android applications executing natively within iOS? A project called "in-the-box" is working toward this goal, and it's hoping to provide developers an easy path for submitting their software to the App Store. This means Apple users could get a crack at exotic titles from Google's turf, all without jailbreaking their devices. The magic is performed by porting the Dalvik virtual machine and Gingerbread API's to iOS, which developers must bundle inside their applications -- something that's already resulted in a Java-based "Hello world" app (see it in action after the break). It's an early demonstration, as the only evidence is the output to a console window, but if you're an Android dev that's looking to rock the boat (and willing to risk App Store denial), this could be a fine path to explore.
Zachary Lutz05.30.2011Google hires Java founder James Gosling amid Oracle infringement suit - ah, snap!
And the war wages on... We've been reporting on the showdown between Oracle and Google over Java-related patent infringement since its inception, and now El Goog's throwing a little extra excitement into the fray by hiring Java founder, and former VP of Sun Microsystems, James Gosling. When Oracle acquired Sun last year, Gosling, who refused to take part, wasn't shy about expressing his views, calling Oracle's Larry Ellison "Larry, Prince of Darkness." On a post to his blog, which has since crashed, Gosling was vague about his new duties saying simply, "I don't know what I'll be working on. I expect it'll be a bit of everything, seasoned with a large dose of grumpy curmudgeon." That's just the kind of smack talking this scuffle needed to keep things interesting. Long live James Gosling!
Christopher Trout03.29.2011Myriad Alien Dalvik hands-on (video)
What if you could run Android apps on other platforms? That's exactly the question Benoit Shillings and his team at Myriad asked themselves before setting out to create Alien Dalvik. The resulting software provides a host environment for the (mostly Java-based) Android apps to run pretty much anywhere. Alien Dalvik behaves a lot like Wine on Linux, which allows Windows programs to run inside Linux without installing Windows or using a virtual machine. We stopped by the Myriad booth at MWC this week where Benoit was kind enough to give us a demo of Alien Dalvik running on a Nokia N900. Despite being in the early stages of development and still un-optimized, the software worked as expected. Benoit showed us Google Maps, a chess game, and the IMDb app all running as separate processes inside Maemo. This version of Alien Dalvik was written using Qt and should also be able to run on Symbian devices. You can't buy the product as an end user, but Myriad wants to make the technology available to carriers and device manufacturers to help streamline the deployment of apps across platforms. Watch our video after the break.
Myriam Joire02.18.2011IcedRobot Android fork to sidestep legal battle between Oracle, Google
We'd prepared ourselves for a drawn-out legal battle between Oracle and Google when we heard the former was suing the latter for Java-related copyright infringement, but fortunately for Android enthusiasts, not everyone was so resigned. A team of developers are working on an Android fork called IcedRobot (yep, that's the logo) to separate the offending Dalvik Virtual Machine from the OS, hopefully circumventing this epic argument altogether. The project seeks to create a Java Virtual Machine (JVM) that is based on OpenJDK (an open-source implementation of Java), avoiding Oracle's Apache Harmony, and to allow Android to run on just about any PC with the use of Hotspot, another device non-specific JVM using open-source Java. It's a tall order, and the devilish little Android has already gained a healthy amount of tech industry skepticism, but we're interested to see if these guys can make it work. Either way, we're pretty sure we've still got years of legal volleying to go before Google and Oracle can play nice again -- this ain't no People's Court, folks.
Christopher Trout02.11.2011Bloomberg: RIM working to let BlackBerry PlayBook run Android apps, but Dalvik's not the way
We'd heard sweet, sweet rumors that RIM would include a Java virtual machine in the BlackBerry PlayBook and even bring Android apps on board -- and lo and behold, Bloomberg's corroborating those claims with no fewer than three anonymous sources. Where the new rumor diverges is that the Dalvik virtual machine used in Google's OS reportedly won't be part of the formula; RIM considered it, these sources say, but decided it didn't want to get involved in the Oracle / Google legal fracas. Apparently, the company's working on this secret project in-house and targeting a possible release in the second half of the year. We have to say, the ready availability of roughly 200,000 Android programs could be quite the shot in the arm if WebWorks and AIR don't produce killer apps right away.
Sean Hollister02.11.2011Myriad 'Alien Dalvik' runs Android apps on any phone... starting with MeeGo (video)
You know that N900 you keep around, just because. The one that's been hacked so many times you call it "leatherface?" Well, it's about to get a lot more flexible. Built upon the app quickening Dalvik Turbo, OHA member Myriad just announced Alien Dalvik with the promise of running "the majority" of unmodified Android apps on non-Android platforms "without compromising performance." A bold claim, no doubt. Myriad will be backing this up at Mobile World Congress starting next week with plans to release it later this year on MeeGo. But why wait until then? You can see it demonstrated right now running on a Nokia N900 in the video after the break (it's running Google Maps in the picture above). Hey Mr. Elop, you want to build, catalyze or join a competitive ecosystem? Maybe this is your solution.
Thomas Ricker02.08.2011BGR: BlackBerry PlayBook to possibly use Android's Dalvik virtual machine, might run Android apps
RIM's been hyping AIR apps and web apps for the PlayBook for a while now, but there's a chance much bigger things are in the works: BGR says the company wants to add in Java compatibility for legacy BlackBerry apps, and that among other options it's considering using the Dalvik virtual machine found in Android to get there. That makes a lot of sense -- Dalvik is one of the most advanced Java(ish) virtual machines out there, and it's open-source, so RIM could conceivably take it and tweak it to work with existing BlackBerry apps, which are built in Java. Clever, clever. But that's not all: BGR goes on to speculate that using Dalvik will also allow the PlayBook and future QNX devices to straight-up run regular Android apps, which is obviously a much bigger deal than simply using the same virtual machine. Exactly how or why BGR's making that leap is unclear, since running Android apps on the PlayBook would require porting much more than just Dalvik, but it's out there. In fact, it's been out there since December 7, when Fortune picked up a note from Gleacher & Company analyst Mark McKechnie suggesting that RIM was planning to offer Android compatibility, so we're curious if this rumor's just taking another trip through the internet meat grinder. Honestly, our bet is that RIM is far too proud to offer Android compatibility and that it's just investigating Dalvik as a Java environment, but we'd love to be proven wrong -- we'll see what happens.
Nilay Patel01.26.2011Google calls Oracle Android lawsuit 'baseless,' says Java goes 'beyond any one corporation'
Oracle's decision to sue Google for infringing its patents and copyright on Java in Android has certainly stirred up a hornets' nest of commentary and analysis on the web today, but it's only just now that we've received Google's official statement, in which the search giant calls the suit "baseless" and vows to "defend open-source standards." Them's fightin' words -- and considering the Dalvik virtual machine at the heart of the Android OS is the centerpiece of this dispute, we wouldn't expect either side to back down quietly here. Get ready for years of litigation, friends. Here's Google's full statement: We are disappointed Oracle has chosen to attack both Google and the open-source Java community with this baseless lawsuit. The open-source Java community goes beyond any one corporation and works every day to make the web a better place. We will strongly defend open-source standards and will continue to work with the industry to develop the Android platform.
Nilay Patel08.13.2010Oracle sues Google over Java patent infringement in Android
It's no secret that Android and the Dalvik virtual machine it uses are heavily based on Java, and it looks like Oracle isn't so happy about it: the database giant (which acquired Java when it bought Sun) just announced that it's suing Google for copyright and patent infringement. The suit alleges Android violates some seven patents and contains copies of Sun's original Java code -- a damning accusation given that Google CEO Eric Schmidt once led the Java team before leaving Sun and eventually arriving in Mountain View. Oracle says Google's known about these issues for around five years now, so it's clear that whatever licensing negotiations these two were having have broken down -- we've got a feeling this case will drag on for years to come, but we'll definitely keep an eye on it. [Image courtesy of Chris Onstad and Achewood]
Nilay Patel08.12.2010Myriad Dalvik Turbo hands-on: Android apps just got fast
Even on the latest round of Snapdragon-powered models, Android apps don't typically seem to exhibit the same level of buttery-smooth prowess as their iPhone equivalents. There are a variety of reasons for that, but the most damning seems to stem from Google's choice of the Dalvik Java runtime, which -- to put it simply -- trades performance for diminutive processor and memory footprints. You may not have ever heard of Swiss company (and OHA member) Myriad, but it sprung to life through the merger of Esmertec and Purple Labs and claims to have software running on an astounding 2 billion phones worldwide -- in other words, these guys know a thing or two about phones -- and they've applied their expertise to tighten up Dalvik and make it burn rubber. Follow the break for video!
Chris Ziegler02.17.2010Swiss firm claims huge boost in Android app performance, battery life with new virtual machine
At the core of Anrdoid lies a little bundle of code known as the Dalvik virtual machine, a runtime environment for Java apps that's specifically optimized for hardware with limited memory and processor power -- you know, the kind of situation you find in your average smartphone. The relative success of the Android Market suggests that Dalvik's getting the job done on some level (as long as you're not looking for a texture-intense FPS), but the fact that Google bothered to create a separate native development kit to speed up intensive operations certainly serves as a damning counterpoint. Enter Swiss firm Myriad -- a founding and code-contributing member of the OHA, coincidentally -- which is touting this week that it's crafted a much higher-performance replacement for Dalvik, appropriately known as "Dalvik Turbo." Just how much higher-performance are we talking? Myriad claims apps run in Dalvik Turbo "up to three times" faster, all while reducing battery drain and giving devs the power they need to create graphically intense games. Even better, it apparently maintains complete compatibility with existing Android apps and is available for all the key mobile platforms -- ARM, Atom, and MIPS included -- and is virtually guaranteed to make you sob uncontrollably to learn that your Android 1.5, 1.6, 2.0, or 2.1-based device isn't using it. It'll be on display at MWC next week, so we're looking forward to finally seeing Gang Wars humming along at 60fps on a G1.
Chris Ziegler02.09.2010