Will Verduzco · Jan 29, 2014 at 07:30 am

Chrome Apps Coming to Android and iOS, What it Means to You as a App/Web Developer and End User

Back in September of last year, the Chrome team made Chrome apps a little bit more powerful. Rather than just being glorified web-apps, September’s update allowed Chrome apps to work offline, function outside of distracting tabs and text boxes, receive desktop notifications, interact with connected peripherals, and launch directly from your computer like any other application. One way of thinking about this could be that the update brought many elements of Chrome OS (including the Chrome App Launcher) to Windows PCs. And essentially what this meant was that Chrome apps were going to start being treated (and acting like) first class applications already on your computer.

Now, the Chrome team is extending support for this new breed of Chrome Apps to mobile platforms. This is being accomplished by leveraging technology in the Apache Cordova toolchain, which is used for building native mobile apps, using web languages like HTML, CSS, and JavaScript as a base. This set of APIs allows mobile app developers to access device hardware features like camera, accelerometer, and other sensors directly from JS. Thus, using these APIs, applications can be built that look and feel like native apps, but are not based on any native code. And given the high level of these web standards, such APIs lend themselves very nicely to cross-platform development—and that is exactly what the Chrome team has done.

At present, many of the core Chrome APIs are available to Chrome Apps running on mobile. These include features like OAuth2 sign-in, mobile payments (alpha), push messaging, file system and storage access, alarms, TCP and UDP socket support, Android notification support, and power controls. Obviously, many more APIs are in the works, including Bluetooth, USB, hardware info, permissions, and much more.

So what does all of this mean? It’s simple, really. This new breed of mobile apps will enable an entirely new class of developer to create applications that look and function just like the apps you’re already using. To end users, this means that more interesting and groundbreaking ideas that would otherwise be relegated to the web will be translated to actual Android application releases. And for developers, it means a lower cost of entry into application development on Android and iOS. Yes, native code will always have its place—particularly when a high level of performance is paramount. But this level of performance is not always required, and an easier point of entry may allow us to see the next simple utility that ultimately changes how we all use our devices.

Developers looking to get a preview of what’s to come should first hit up the project workflow on GitHub, and then get stet started by installing the dev tools, creating a project, and going from there using either command line or an IDE such as Eclipse. Your work in progress project can then be built and even uploaded to the Play Store if you so desire. And if you’d rather look at sample projects rather than diving into code just yet, head over to the sample apps section.

While this may seem like an incremental change–and in many ways it is–the future potential is exciting. And in a way, this can be seen as the first small step towards the further unification of the Chrome and Android platforms. Once you’ve gotten your feet wet with the dev links above, head over to our App Development forums and share your experiences. Also, don’t forget to leave your thoughts in the comments below!

[Source: Chromium Blog, GitHub]


_________
Want something on the XDA Portal? Send us a tip!

Will Verduzco

willverduzco is an editor on XDA-Developers, the largest community for Android users. Will Verduzco is the Portal Administrator for the XDA-Developers Portal. He has been addicted to mobile technology since the HTC Wizard. But starting with the Nexus One, his gadget love affair shifted to Google's little green robot. He is also a Johns Hopkins University graduate in neuroscience and is now currently studying to become a physician. View willverduzco's posts and articles here.
Mario Tomás Serrafero · Jul 28, 2015 at 04:20 pm · 1 comment

OnePlus 2 Forums: Discuss Everything About The OP2!

Now that the OnePlus 2 has been officially unveiled and that we have had close-up looks at the device itself, it is time for XDA users to begin discussing what to expect out of the company's new flagship phone. Can the OnePlus 2 help you never settle? If you want to find out by discussing with fellow users, the XDA forums are the right place to do so.   The OnePlus One is known for its great community which helped...

XDA NEWS
Aamir Siddiqui · Jul 28, 2015 at 12:56 pm · 2 comments

Galaxy Unpacked: What is Samsung Going to Unveil?

Amidst all the hype of the OnePlus 2 and the rain of Moto 2015 news, Samsung tried stealing the limelight back to itself by announcing their next "Galaxy Unpacked" event, which will be held on August 13th 2015. Samsung took to Twitter to reveal a very cryptic gif associated with the event, which probably has some clue on the device(s) to be launched. The hashtag "#TheNextGalaxy" does indeed point that the event will be the launchpad for a Galaxy device,...

XDA NEWS
Mario Tomás Serrafero · Jul 28, 2015 at 12:26 pm · 1 comment

Arrow Launcher: Good Effort Without Direction

Microsoft’s Android expansion has been well received on the productivity front, but not so much in terms of original applications. While their Office suite managed to bring some of the document-editing excellence to mobile, attempts at entering one’s interface through apps like Picturesque proved to be pointless failures. But even then, some apps like Hyperlapse redeem the computing giant through great quality. Microsoft seems to be approaching Android with brute, misdirected development and plenty of unorganized output, and if they want...

XDA NEWS