Non-urgent question regarding webview

49 views
Skip to first unread message

L. Romanow

unread,
Sep 30, 2025, 4:36:09 AMSep 30
to android-w...@chromium.org
Hi,

If this question has reached you in error, forgive me. I wasn't certain if anyone supports the phone browsers.

I have a TCL Flip feature phone, model 4058E. It runs AOSP 11 and includes Chrome browser 74.0.3729.136. If you need anything else I will try to find it. It may be some custom version, I don't know.

With data and WI-FI off, when you start the browser you get the "no internet" page with the "Dino" game.

Pushing up on the navigation key (equivalent of up arrow) works to start the game, however if you press it again the mouse pointer appears and the game is unplayable. It seems to be in mobile mode, so a single key would suffice if the mouse pointer could be disabled. Is there any easy way to do this?

I have saved another html version of the game on the phones SD card, and changed the keycodes so it responds to the number keys. I did this to see if the game was playable (seems to be) but it is a poor workaround.

Not an urgent request obviously, I realize that this game content is present practically by accident.

thanks,

Lee




Nate Fischer

unread,
Oct 2, 2025, 8:49:57 PMOct 2
to L. Romanow, android-w...@chromium.org
Hi,

This mailing list is focused on Android WebView development, but it sounds like your question is actually regarding the google chrome browser. I'm actually somewhat familiar with the Chrome dino game codebase though, so I'll try to help.

I think the Chrome dino game is configured based on touch input when on mobile devices and keyboard input when on desktop devices. From what you've written, it sounds like we actually might have this part configured correctly for your device: you mentioned that hitting the navigation key starts the game. As for the unwanted mouse pointer, I'm not sure if that's something under our control. I don't think chrome ever generates its own mouse cursor—that's probably something which your phone's operating system is drawing by itself. I'm not super familiar with how Android works for feature phones though, so I could be mistaken about this.

Unfortunately, I don't think this is something we would be able to fix in the game itself. But if you're technically inclined, you are welcome to look at the open source code for the dino game. The code is publicly available at https://source.chromium.org/chromium/chromium/src/+/main:components/neterror/resources/dino_game/. I believe "offline.ts" in that folder is the specific code file which has the game logic, including the code which handles keyboard and input events. On the off-chance that you do see specific code which is drawing a mouse cursor, let me know and I'll pass this feedback along to the engineering team who maintains the dino game.

> changed the keycodes so it responds to the number keys. I did this to see if the game was playable (seems to be) but it is a poor workaround.

If there's a different set of keys which you think would be more natural to use and which work properly on your device, then let me know and I can help you file a feature request with the appropriate team.

I hope this helps,
Nate Fischer | Software Engineer | ntf...@google.com



--
You received this message because you are subscribed to the Google Groups "android-webview-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-webview...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/android-webview-dev/308651961.2137648.1759194312087%40mail.yahoo.com.
Reply all
Reply to author
Forward
0 new messages