Android development on Chrome OS
Aug 24, 2023
Android development on Chrome OS
Chromebooks have built in capabilities for developers to develop and run their apps on the same device, allowing them to build a better experience, especially for large screens. This video shows developers how to use their Chromebooks to take their applications beyond phones. Resources: Android development on Chrome OS instructions → https://goo.gle/2EmhvJj Recommended app optimizations → https://goo.gle/3lpbpbD Success optimization stories → https://goo.gle/3lmqx9z Check out the 11 Weeks of Android website → https://goo.gle/30FDT8S Related Playlists: Android Beyond Phones: Auto, Wear, TV, \u0026 ChromeOS - 11 Weeks of Android playlist → https://goo.gle/android-beyond-phones 11 Weeks of Android playlist → https://goo.gle/android-11weeks Subscribe to Android Developers → https://goo.gle/AndroidDevs Speakers: Adriana Jara #featured #android11 #11WeeksOfAndroid
Content
3.679 -> hi
4.24 -> my name is adriana harra and i'm a
5.759 -> developer advocate for gramos
8.16 -> one of the advantages of android is the
9.84 -> diversity of form factors
11.36 -> where it runs this diversity gives
14.24 -> developers
14.96 -> great opportunities to reach a lot of
16.96 -> users
18.32 -> let's say you as a developer want to
20.4 -> increase the reach of your app
21.68 -> for large screens gain new users or
24.88 -> maybe
25.519 -> give your users multi-device journeys
28.64 -> users can already install android apps
30.72 -> on chromebooks using the play store
33.04 -> but you will want to add improvements
34.88 -> for those users
36.88 -> these optimizations will help not only
39.2 -> with desktop-like devices
40.96 -> but also tablets and foldables
44.16 -> you will want to implement things like
46.32 -> keyboard shortcuts
47.52 -> and make sure that your app is usable
49.68 -> with a mouse or a stylus
52.399 -> you will want to make use of the real
54.32 -> state that comes with a large screen
57.039 -> maybe optimizing a horizontal layout
60 -> since it is more common in large screens
62.8 -> and think about desktop-like navigation
65.36 -> patterns
67.2 -> you may want to make sure that your app
69.439 -> can run in a speed screen mode
72.08 -> and change size smoothly all great ideas
76.159 -> but this also means you will want to
78.08 -> test them accordingly
79.28 -> in the right form factor and i'm here to
82.32 -> show you how chromebox can be your ally
84.4 -> to implement
85.36 -> and test your android apps especially
88.159 -> for large screens
90.32 -> first you might need to do a little
91.759 -> setup start by enabling linux on chrome
94.96 -> os
96 -> find the linux sections on the system
98.24 -> settings
99.36 -> and click turn on follow the
101.36 -> instructions on the screen
103.6 -> this will enable an app called terminal
106.399 -> which is the way to interact with the
108.24 -> linux on chrome os
109.52 -> environment as starting in chrome 84 you
112.56 -> will find new options for
113.88 -> personalization
115.36 -> themes shortcuts and more
118.399 -> next step android studio installation
121.52 -> is as easy as one click after
123.52 -> downloading it
124.88 -> once installed you'll get the same
126.88 -> android studio that you
128 -> know and love it will be installed under
131.28 -> a group
131.84 -> called linux apps you can find it on
134.959 -> your launcher
135.84 -> and you can pin it to your drawer for
137.76 -> easy access
139.44 -> final set of step enable adb debugging
142.4 -> for your chromebook
143.84 -> this will allow you to deploy your
145.44 -> android app directly to the android
147.44 -> environment
148.08 -> on chrome os go to the linux settings
151.36 -> find the option develop android apps
154.48 -> and turn on enable adb debugging
158.239 -> your computer will restart and you'll
160.4 -> see a confirmation dialog after the
162.319 -> reboot
163.519 -> and from then on you'll see a notice on
165.36 -> your login screen that shows
167.04 -> that it is allowed to load apps using
169.76 -> adb
170.56 -> on the chromebook another warning if
173.599 -> later you disable adb debugging
176.08 -> your chromebook will reset to factory
179.04 -> defaults
180.319 -> and you've made it your chromebook is
182.319 -> ready to run your android app
184.319 -> now the chromebook will appear as an
185.92 -> option on the devices dropdown
188.08 -> of android studio click run and your app
190.959 -> will be installed
191.92 -> directly on the device you can test
194.959 -> different sizes configuration changes
198 -> input interactions and more without
200.879 -> cables
201.599 -> and at the same time using the tools you
204.08 -> are used to
205.36 -> to see logs and to debug one node here
209.2 -> the first time you install an app
211.2 -> android will ask
212.56 -> to allow usb debugging you can check the
215.68 -> always allow
216.64 -> option there are a couple of
218.959 -> alternatives
219.76 -> for running an android app in chrome os
222.959 -> if running under studio is not an option
225.36 -> you can still use
226.64 -> adb and the terminal to install an apk
230.879 -> or there is also the option to push to
233.2 -> the chromebook from another device
235.84 -> this option requires developer mode and
238.4 -> more setup steps
240.72 -> you can find step-by-step instructions
243.28 -> on how to set up these workflows
245.28 -> on chromeos.dev a dedicated online
248.64 -> resource for chrome os developers
251.12 -> you can find the link to chrome os.dev
253.599 -> in the description of the video
255.68 -> whether you are a developer optimizing
257.6 -> your apps for large screens
259.359 -> or a new developer building your first
261.519 -> app i am looking forward to seeing your
263.6 -> creations on chromebooks
265.759 -> thank you
Source: https://www.youtube.com/watch?v=-e08ixmih20