Since Google announced that chromebook also supports Android app, so I also wanted to support my chromebook app, although it works fine with a slight exception that I need to fix.
I want to write the code in such a way that it will only run for the chromebook and will not run for Android phones and tablets.
I have a Chromebook documentation check on the Android developer site, I didnβt have an API that says your application runs in a chrome book environment.
Offer ARC Beta Documentation Doesn't Work:
If you need to check if your application works in Chrome OS, find chrome as android.os.Build.BRAND and android.os.Build.MANUFACTURER .
Both return Google to ASUS Chromebook.
android chromebook androidappsonchromeos
dex
source share