Hacker News new | past | comments | ask | show | jobs | submit login

Does anyone know what is involved in getting an android app to run on chrome os? Is it a rewrite?



According to this [ http://arstechnica.com/gadgets/2014/09/chrome-os-can-now-run... ] no porting is required.

But with that in mind, it is unclear from the posts I've seen why the list of available apps is currently so small and why working closely with Google is required to get your app up and running right now, perhaps this is just due to the runtime being very much in active development and not supporting the entire set of Android APIs yet.


> perhaps this is just due to the runtime being very much in active development and not supporting the entire set of Android APIs yet.

Probably this: its in beta, so they are probably working with individual, high-demand apps to assure that they work (and by doing so validate the runtime itself) to manage the scope of potential consumer-facing bugs.


Thanks. I was wondering why the few number of apps right now if it isn't a rewrite.


My guess is that some app manifests might have to set tighter compatibility restrictions, and would run, but poorly, on this environment.

Non-game, non-SDK apps that don't have required accelerated visual transitions are probably the best candidates. But that's not a situation most developers are explicitly coding and testing for.


Based on the apps listed, and on some other surmises, I'm guessing that apps that don't use the NDK and don't use 3D graphics will run pretty easily, and many of them should Just Work.

I was involved in a project that did somewhat similar things. I think Google got it right by doing a release that restricts apps to ones that use certain capabilities, particularly since, in Android apps, those capabilities are declared and can be filtered using the app manifest. Making GPU acceleration work in a system with a "hybrid graphics stack" instead of layering Android's 2D graphics on a native substrate is a ton of work for an incremental (albeit an important increment) gain.


It is not a rewrite, according to the I/O keynote it is the native Android app (maybe with some minor changes). I would be curious to know how it works exactly. Did Google write a port of Dalvik/ART that runs on ChromeOS ?


> I would be curious to know how it works exactly. Did Google write a port of Dalvik/ART that runs on ChromeOS ?

From what I can gather from the articles, they run in the "App Runtime for Chrome (beta)", which is an Android VM for Native Client.


A VM in a VM.


Native client is more like Wine than a VM. Translates calls from the environment to equivalents in the host OS.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: