Hi,

I am trying to use an Android native component
(org.webrtc.SurfaceViewRenderer), of which am returning as PeerComponent
from the native code, and I add it to the CENTER of a container with
BorderLayout. But it does not display anything.
This component, as you can imagine, displays video streams via WebRTC.

Having ported the original code from an Android Studio project, I realize
they use  activity_main.xml for layout which works fine when run via
Android studio.
Is there a way I can include activity_main,xml in CN1 so that I can
hopefully replicate the same layout behaviour ?

 Or any suggestions on how to get such a native component to
correctly display ?

-- 
David W

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/CAK9Ws2fJA_DO3HxAzocXr4qxp4uOyEcHCM%2Bow0ta9cSPubnaNw%40mail.gmail.com.

Reply via email to