Detecting Chromebooks

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
andyh1234
Posts: 442
Joined: Mon Aug 13, 2007 4:44 pm
Location: Eccles UK
Contact:

Detecting Chromebooks

Post by andyh1234 » Fri May 29, 2020 9:28 pm

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.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7228
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Detecting Chromebooks

Post by jacque » Sat May 30, 2020 4:53 pm

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

andyh1234
Posts: 442
Joined: Mon Aug 13, 2007 4:44 pm
Location: Eccles UK
Contact:

Re: Detecting Chromebooks

Post by andyh1234 » Sat May 30, 2020 7:30 pm

Thank you!

andyh1234
Posts: 442
Joined: Mon Aug 13, 2007 4:44 pm
Location: Eccles UK
Contact:

Re: Detecting Chromebooks

Post by andyh1234 » Sun May 31, 2020 9:01 pm

Frustratingly the machine returns 'coral' on my Asus Chromebook.

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

Thanks

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7228
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Detecting Chromebooks

Post by jacque » Mon Jun 01, 2020 6:09 pm

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

kdjanz
Posts: 300
Joined: Fri Dec 09, 2011 12:12 pm
Location: Fort Saskatchewan, AB Canada

Re: Detecting Chromebooks

Post by kdjanz » Mon Jun 01, 2020 8:43 pm

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...

andyh1234
Posts: 442
Joined: Mon Aug 13, 2007 4:44 pm
Location: Eccles UK
Contact:

Re: Detecting Chromebooks

Post by andyh1234 » Thu Oct 01, 2020 11:15 am

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.

Post Reply

Return to “Android Deployment”