GLBasic forum

Main forum => GLBasic - en => Topic started by: spacefractal on 2020-Mar-24

Title: Chromebook support coming soon
Post by: spacefractal on 2020-Mar-24
Glbasic coming soon to Chromebook,

Even i is inquired after a crash, im did do work slowly today.

- Im just got keybaord with most keys remapped to pc scancodes (not all was possible, most of them)
- mouse and primary touchpad (one finger by now) include hover. Pointer is still there thought.
- You can even detect a chromebook from PLATFORMINFO$()
- Android Studio is of course required and is enabled by adding this to manifest.xml:
Code (glbasic) Select

    <uses-feature android:name="android.hardware.type.pc" android:required="false" />

- howover resize window wont been supported and is chrashing out, but app just works fine in fullscreen.
- some keys is remapped to different pc style on a chromeos keybaord:
ESCAPE is F1 and Forward is F2 and Refresh is F3.
- Landscape is required as minimum supports! That one im have is required!
The reason is im did not want to conflict escape button to the back button.

No idea about release date, but im slow in the moment.


Title: Re: Chromebook support coming soon
Post by: bigsofty on 2020-Mar-24
Nice!  =D
Title: Re: Chromebook support coming soon
Post by: erico on 2020-Mar-25
Great, it is a common platform! :good:
Title: Re: Chromebook support coming soon
Post by: spacefractal on 2020-Mar-25
Most of those supports Android apps today. Got native mouse to work, include right click and Greedy Mouse and Spot Race now runs nice on this Chromebook. You do cannot freely resize the apps, and that ok. its a game anyway.

ads is also supported on those too! but need to hover/touch the device as they does not have a tilt acceleration.... not on this one.

howover im just aware as android 8 added adaptive icons as this lapyop use. must saw its quite very ugly when a app do NOT have its and is just add a stupid white circle around is? Why so dumb? Im do add support to create those icons before a update.

keyboard can been remapped to pc style scancodes, but can been disabled (by default). You can detect a keyboard by checking first joystick name.

PS. having left hand only cause thing slow, due schoulder inguire and then might take a break here and there.
Title: Re: Chromebook support coming soon
Post by: spacefractal on 2020-Mar-25
For the Adative Icons, its was much much easier let Android Studio doing those rather than glbasic do that. glbasic does only create legancy icons:

https://developer.android.com/studio/write/image-asset-studio

My ChromeBook used the round icon version.......