Simon Chan

Results 235 comments of Simon Chan

> [server] INFO: List of audio encoders: > --audio-codec=aac --audio-encoder='OMX.google.aac.encoder' There is no opus encoder, can you try `scrcpy --audio-codec=aac --audio-encoder='OMX.google.aac.encoder'`? Also what will happen if you run `scrcpy --no-audio...

@rom1v Scrcpy server process doesn't have any associated `Application` or `Context` instances before `fillAppInfo()`, right? I think the code added by Nvidia guarded against empty `Context`, so it works before....

> Was my first time doing this so took me a while to figure out ```sh adb pull /system/framework/framework.jar /path/on/your/pc ``` > I am assuming there's no personal info This...

> This is the download link of game i've tested: https://ugame.9game.cn/game/downloadGame?pack.cooperateModelId=235099&pack.id=47093428 I didn't see any issue in this game with Scrcpy 1.25. Plus I don't think it will work. In...

> Is it possible that you provide me touch event tester app apk you metioned? Source code: https://github.com/yume-chan/android-motion-event-tester APK: [com.companyname.AndroidApp1.zip](https://github.com/Genymobile/scrcpy/files/10852991/com.companyname.AndroidApp1.zip) Touch or click in the empty area, it will display...

I think there should also be a task to run unit tests. Maybe cache `~/.gradle` to speed up subsequent runs. Found gradle has an official GitHub action for that: https://github.com/gradle/gradle-build-action#caching

> With the official [Samsung Android USB drivers](https://developer.samsung.com/android-usb-driver) installed it didn't work. This is true. Because Windows USB API is bad, programs have to use an allowlist to determine which...

The old ADB over Wi-Fi is unencrypted, but the new wireless debugging added in Android 11 is encrypted using TLS, so that should be safe in public Wi-Fi.

不用 `Reflect` 改变 receiver 的方法: ```js const a = { get foo() { return this.bar; } }; const b = { bar: 42 }; Object.getOwnPropertyDescriptor(a, 'foo').get.call(b); // 42 ``` 所以我的理解是借了...