The following is the first few sections of a chapter from The Busy Coder's Guide to Android Development, plus headings for the remaining major sections, to give you an idea about the content of the chapter.


Device Catalog: Chrome and Chrome OS

Ever since Android and Chrome were moved under the same executive within Google, rumors abounded that Android and Chrome OS would merge in one form or fashion.

In 2015, Google started down that path, offering the ability for developers to start packaging Android apps to run on Chrome OS. And — albeit via a different mechanism — some Chrome OS devices now offer the Play Store and users can install compatible apps from there.

The exact number of Chromebooks that have been sold is subject to some debate. One analyst pegged business (B2B) Chromebook sales in the first half of 2015 at around 2 million, with an upbeat, pro-Chromebook spin. Another analyst indicated that total sales for Chromebooks in 2014 were 6 million, a tiny percentage of PC/laptop sales. In mid-2016, IDC estimated that Chromebook sales for the first quarter of 2016 were around 2 million, exceeding the sales of Apple’s line of Mac notebooks. But one analyst is predicting 17 million Chromebooks to be sold in 2023, which suggests that growth will be modest.

Prerequisites

Understanding this chapter requires that you have read the core chapters of this book.

How This Works

From the user’s standpoint, Android apps appear alongside their Chrome OS counterparts. For example, the Play Store will be in their app launcher:

Chrome OS App Launcher/Finder, As Initially Launched
Figure 1082: Chrome OS App Launcher/Finder, As Initially Launched

Android apps appear in floating windows, similar to their Chrome OS counterparts:

Chrome OS, Showing Amaze File Manager
Figure 1083: Chrome OS, Showing Amaze File Manager

Right now, these windows cannot be arbitrarily resized. The user can switch between a floating window and a maximized view, via the title bar decorations in the upper-right corner. However, in the future, users should be able to resize these windows as they see fit, the same way they can do with native Chrome OS windows.

The Android apps see what resembles a normal Android environment. Right now, it is based on Android 6.0.1. Some aspects of the environment are shared between operating systems — most notably, the Downloads directory is accessible via external storage in Android and via the Files app in Chrome OS.

Testing Your App on Chrome OS

The preview of this section is being chased by zombies.

Be Prepared To Be Wiped Out

The preview of this section is being chased by zombies.

Compatibility and Your App

The preview of this section was fed to a gremlin, after midnight.

Your App on Chrome OS

The preview of this section is being chased by zombies.

Distribution Options

The preview of this section was the victim of a MITM ('Martian in the middle') attack.

Getting Help

The preview of this section is unavailable right now, but if you leave your name and number at the sound of the tone, it might get back to you (BEEEEEEEEEEEEP!).