Thank you agraham for your attention.
This is the code in B4A that prepares the display panel to be sent to the library in slc
pnlCamera.Initialize("")
XmlLayoutBuilder1.LoadXmlLayout(pnlCamera, "layout1")
NeuroT.create_capture_process(XmlLayoutBuilder1.GetView("pnlCamera"))
This is the definition of layout:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:orientation="vertical" >
<Panel
android:id="@+id/pnlCamera"
android:layout_width="fill_parent" android:layout_height="fill_parent">
</Panel>
</LinearLayout
This is the method in the slc library that receives the invocation:
public boolean create_capture_process(BA ba, android.view.View videox){
mFaceView = (NFaceView) videox;
.
.
The slc library always receives a null value.
As I mentioned in a previous post the type (NFaceView) is an acronym of the library provider for the type android.view.View
It is the first time that I pass View objects from B4A to java, I appreciate any comments and suggestions