Разделите поверхность между различными приложениями с помощью 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
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

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