Разделите поверхность между различными приложениями с помощью AIDL в AndroidAndroid

Форум для тех, кто программирует под Android
Anonymous
Разделите поверхность между различными приложениями с помощью AIDL в Android

Сообщение Anonymous »


I wanted to drawRect after sending the Surface from App A to B, so I tried using AIDL. I checked the SurfaceFlinger because nothing was drawn. When I drew from App A, the surface was not compressed, and the SurfaceView and Flag(usage) were the same as 0x933. However, when I sent it from A to B through aidl, it was compressed and the flag(usage) was 0x4000000000000b00.

I can get the SurfaceControl used by A and make a new Surface, but I want to simply get the Surface and use it. Please let me know if there is a way. Thank you.


Источник: https://stackoverflow.com/questions/780 ... in-android

Вернуться в «Android»