Android_Native_Surface icon indicating copy to clipboard operation
Android_Native_Surface copied to clipboard

安卓c++绘制和录屏

Results 5 Android_Native_Surface issues
Sort by recently updated
recently updated
newest added

System Screen Recoder or any other screen recorder from playstore can't record surface drawing , while screenshot can capture the drawing . Android : 13 ROM : MIUI EU (Redmi...

旋转屏幕后会崩溃,本来还以为是库里面导出的获取屏幕信息函数有bug,还特意自己重写了,结果发现不是。。。 经过初步排查 ``` if (orientation != displayInfo.orientation) { // externFunction.setSurfaceWH(displayInfo.width, displayInfo.height); shutdown(); initDraw(true); orientation = displayInfo.orientation; cout

位于touch.cpp中的getTouchScreenDevice函数在一些设备上,会返回错误的路径 例如在我的小米平板5pro上,符合getTouchScreenDevice函数筛选条件的输入设备有两个: 一个是event4,也就是我的物理触摸屏 这是我的物理触摸屏节点的信息 ``` add device 11: /dev/input/event4 bus: 001c vendor 0000 product 0000 version 0000 name: "NVTCapacitiveTouchScreen" location: "input/ts" id: "" version: 1.0.1 events: KEY (0001): KEY_POWER KEY_WAKEUP...

竖屏转横屏时发生字段错误 然后程序退出 手机是小米8 ndk版本是ndk-21