Author Topic: Chromebook support coming soon  (Read 867 times)

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3958
    • View Profile
    • Space Fractal
Chromebook support coming soon
« 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.


« Last Edit: 2020-Mar-24 by spacefractal »
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2750
    • View Profile
Re: Chromebook support coming soon
« Reply #1 on: 2020-Mar-24 »
Nice!  =D
Cheers,

Ian.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.”
(E. W. Dijkstra)

Offline erico

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4397
    • View Profile
    • FUED
Re: Chromebook support coming soon
« Reply #2 on: 2020-Mar-25 »
Great, it is a common platform! :good:

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3958
    • View Profile
    • Space Fractal
Re: Chromebook support coming soon
« Reply #3 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.
« Last Edit: 2020-Mar-25 by spacefractal »
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3958
    • View Profile
    • Space Fractal
Re: Chromebook support coming soon
« Reply #4 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.......
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.