Cobalt app support for Android touch screen devices

210 Views Asked by At

As of now , cobalt app works fine with RCU for Android TV's. If we try to test the same app in any touch screen devices, functionality doesn't works properly. Is there any way to build Android cobalt app for touch screen devices. Below are the major issues on touch devices.

  • Cant scroll
  • Not able to pause/resume the video
1

There are 1 best solutions below

2
mmotorny On

Most likely, your Starboard implementation doesn't emit touch or mouse events. See kSbInputDeviceTypeTouchScreen and kSbInputDeviceTypeMouse in https://cobalt.dev/reference/starboard/modules/input.html. For example of mouse implementation, see https://cobalt.googlesource.com/cobalt/+/refs/heads/master/starboard/android/shared/input_events_generator.cc.