Live data from Hacker News

A new breed of Chrome Apps

chrome.blogspot.com

61–70 of 169 posts

Re: A new breed of Chrome Apps

#61
post #19

So, really, there's only two new features here: - Launch chrome apps directly from the desktop - Run chrome apps with out any of the browser toolbars Everything else is already possible in a regular chrome app.. Right?

"chromeless" Chrome windows have been in Chrome since the start as far as I can remember: Tools > Create Application Shortcuts.

This has never actually been implemented on OSX, which surprised me when I switched from linux, I missed it a lot

Re: A new breed of Chrome Apps

#62
post #5

So, really, there's only two new features here: - Launch chrome apps directly from the desktop - Run chrome apps with out any of the browser toolbars Everything else is already possible in a regular chrome app.. Right?

It looks like they open up APIs that otherwise wouldn't be exposed, like access to the shell and devices.

Chrome extensions have had access to external devices for a long time, including both USB and Bluetooth.

http://developer.chrome.com/apps/app_hardware.html

NPAPI has been available for awhile, too.. Not sure if that's what they're referring to when they say shell access.

https://developer.chrome.com/extensions/npapi.html

Re: A new breed of Chrome Apps

#64

Earlier quoted context omitted.

That's possible today - there are apps, that are basically web apps. But they usually offer inferior user experience. It's cheaper, but for the price of being worse than a native app. It's possible they will add support for other languages besides Java. Android is stuck with Java 6, which sucks...

That language will be web, I suspect. Perhaps Google will offer prerolled components specifically for Android? I strongly suspect that Chrome is the platform Google wants to push for client development now, with Android essentially as a shell for it. While web may arguably be "worse" on Android now, Google has a very large, talented engineering team who could change that relatively fast. Java is a dead end at this po…

Web is a platform, so they would need to rewrite half of Android, I don't think it would be worth it, I don't see real benefits of that for users or devs...

I think that Java 8 is a great language, I like it a lot more than Javascript. Go would be great too.

Re: A new breed of Chrome Apps

#65
post #6

Earlier quoted context omitted.

That actually makes a lot of sense given their Android KitKat tagline which is "It's our goal with Android KitKat to make an amazing Android experience available for everybody." Google has used Play Services to update Android in the background. Since they also own Chrome, the more apps that live within Chrome the more apps are up to date and out of reach of other companies who would use Android for them, notably Amaz…

It also means that many of these apps won't be usable by anyone running Android pre-4.0. Chrome launched with GoogleTV on Android 3, and that version doesn't auto-update, so it won't get apps.

Yeah, someone is always quick to point out that someone is going to left behind. It doesn't matter. Mobile hardware and software is evolving quite fast. There will be a billion 4.0+ devices in a couple of years. People that aren't interested in newer devices probably aren't as interested in apps either.

Re: A new breed of Chrome Apps

#66
post #17

"Chrome-specific code that means they won’t be able to run on other web browsers" This sounds vaguely familiar...

Familiar to what?

If Google waits for other browsers to offer the APIs it needs, Chrome apps won't happen for a long, long time.

Re: A new breed of Chrome Apps

#67
post #30

Earlier quoted context omitted.

> -Previous installed chrome app matches the HTML5 api, the new chrome apps has a lot of restriction where you have to totally rewrite you code in terms of storage. i.e. Chrome.storage instead of localStorage; All chrome storage is async. I belive this is only localStorage right? (indexedDB is still available afaik) Firefox OS had mentions of disabling localStorage, its been a huge problem due to its synchronous API,…

indexedDB is available with an entirely async API. Bring on the callbacks!

Yup, we have a shared helper in Firefox OS on top of IndexedDB that all the apps use (localStorage is as close to banned as it can be) (https://github.com/mozilla-b2g/gaia/blob/master/shared/js/as...)

However thats fine when you are building your own apps, but I meant as a long term solution to the web platform, if localStorage needs disabled on one platform in favour of a propietary API, maybe its best to replace it with a non proprietary web api

Re: A new breed of Chrome Apps

#68
post #36

Earlier quoted context omitted.

Merge of the android and chrome/web platform, that would keep the strenths of both, is basically impossible. Why do you say that? Add some APIs to the Android browser, allow it to open apps full-screen... there doesn't seem to be much more to it than that.

That's really not too different from what it takes to package HTML5 code into Android apps already, with the same result of apps with UIs that feel foreign to the system. The trend is not towards HTML5, but actually away from it. Quite honestly the Chrome Mobile team are swimming against the tide on this.

> The trend is not towards HTML5, but actually away from it. Quite honestly the Chrome Mobile team are swimming against the tide on this.

That's quite a statement. The average Android app is already a UI nightmare that feels foreign to the system, I don't see how HTML is going to be somehow worse (especially when there would be a full set of HTML5 components to use).

Re: A new breed of Chrome Apps

#70

One thing that I think is really cool about Chrome Apps is that you can write USB drivers in Javascript that will run on any platform that runs Chrome or Chromium. This means that if you want to make a hardware device that syncs with the cloud, all you have to do is write what is essentially a web app, and anyone with Windows, OS X, Linux, or Chrome OS can use your thing. I'm personally working on a Chrome SDR app fo…

The documentation says chrome.usb only works on Chrome OS, are you sure it works in the actual browser?

Last time I looked into this stuff it's nontrivial to let arbitrary user-mode applications manipulate arbitrary USB devices on Windows, so I'd be impressed if they got it working in a secure fashion and deployed it to the open web.

Post reply on HN