Page 1 of 1

Detecting Chromebooks

Posted: Fri May 29, 2020 9:28 pm
by andyh1234
Hi

As standard the manifest file includes Chromebooks, but the exactfit scaling doesn't work, it had some quite odd effects.

Can anyone suggest a way to detect a Chromebook install so I can have it comment out the scaling, the app works perfectly well just left the default / designed size (but scaling is absolutely needed for phones and tablets).

All come back as android devices.

Re: Detecting Chromebooks

Posted: Sat May 30, 2020 4:53 pm
by jacque
I use "the machine" which has the word "Chromebook" in it somewhere for my very limited number of test devices. No promises that's universal but so far it seems to work.

Re: Detecting Chromebooks

Posted: Sat May 30, 2020 7:30 pm
by andyh1234
Thank you!

Re: Detecting Chromebooks

Posted: Sun May 31, 2020 9:01 pm
by andyh1234
Frustratingly the machine returns 'coral' on my Asus Chromebook.

Thanks anyway, if anyone has any other suggestions Ill be happy to try them!

Thanks

Re: Detecting Chromebooks

Posted: Mon Jun 01, 2020 6:09 pm
by jacque
That's too bad, but good to know. Sounds like my method won't work and I don't know any other way to get the info.

Re: Detecting Chromebooks

Posted: Mon Jun 01, 2020 8:43 pm
by kdjanz
From left field again...

Is there any way that you can identify them based on the screen rect? Are they bigger or are they a specific aspect ratio that you could get at runtime, and then disable the scaling routine?

Just throwing it out there...

Re: Detecting Chromebooks

Posted: Thu Oct 01, 2020 11:15 am
by andyh1234
Unfortunately not, the ones I have emulate androids so they throw out random screen rects, but it was worth a shot, thanks for the suggestion.