Menu

Post image 1
Post image 2
Post image 3
1 / 3
0

Building a custom launcher for ChromeOS

DEV Community·Thomas Künneth·18 days ago
#Jtgu00A3
Reading 0:00
15s threshold

In this article, I will share some of my experience of enhancing Be nice to be a launcher on ChromeOS. Now, why would I want to do that anyway? I use my ChromeOS detachable more like an Android tablet than a traditional laptop; therefore, I find myself deeply missing the Android goodness that Google's desktop OS tends to strip away. Chief among these missing features is support for app widgets. Be nice has app widget support, so it would be great to run my app on ChromeOS. On a standard Android phone or tablet you can simply swap the home app in settings. fun changeDefaultHomeApp () { val intent = Intent ( Settings . ACTION_HOME_SETTINGS ). apply { addFlags ( Intent . FLAG_ACTIVITY_NEW_TASK ) } if ( context . packageManager . resolveActivity ( intent , PackageManager . MATCH_DEFAULT_ONLY ) != null ) { context . startActivity ( intent ) } } Enter fullscreen mode Exit fullscreen mode Unfortunately, ChromeOS forces you to use its native environment.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More