I’m trying to detect if the user runs my app on a chromebook.
After some research, I found this Java code (which Google offically uses, actually)
public static boolean isArc() {
return (Build.DEVICE != null && Build.DEVICE.matches(".+_cheets|cheets_.+"));
}
Source: How to detect programmatically if “Android App” is running in chrome book or in Android phone (py4u.net) Answer 2
How do I use this in Kodular? Is there somebody who can make a extension if needed?
Thank you
1 Like
hammerhai
(Nathan)
August 12, 2021, 6:53pm
#2
I haven’t tested the code you’ve given, but here you go…
com.github.flailingoctopus.featuresupport.aix (21.1 KB)
This post was flagged by the community and is temporarily hidden.
hammerhai
(Nathan)
August 14, 2021, 12:21pm
#5
Hi @firojmultane4567 ,
This isn’t the right place to talk about developing other extensions for your purpose. If you’d like, you can post the extension request in the #marketplace:request category, that way everyone could contribute to your request, not only one person.
Sincerely,
– Nathan
Ok I requested in Market place
system
(system)
Closed
September 13, 2021, 12:27pm
#7
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.