I definex ffmpeg in xml:
And Calling view using XmlLayoutBuilder
And i im getting error:
B4X:
<RelativeLayout
android:layout_width="589dp"
android:layout_height="340dp"
android:layout_alignParentTop="true"
android:layout_alignParentRight="true"
android:paddingTop="100dp"
android:paddingRight="71dp" >
<ImageView
android:id="@+id/imgPreview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/preview" />
<tv.danmaku.ijk.media.widget.VideoView
android:id="@+id/videoViewRelative"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
</tv.danmaku.ijk.media.widget.VideoView>
</RelativeLayout>
And Calling view using XmlLayoutBuilder
B4X:
'DEFINE - FFMpegVideoViews
Dim FFMpegVideoView1 As FFMpegVideoView
'GET - FFMpegVideoViews
FFMpegVideoView1 = Xml.GetView("videoViewRelative")
And i im getting error:
B4X:
FFMpegVideoView1 = Xml.GetView(\
javac 1.8.0_66
src\com\project\tv.java:389: error: cannot find symbol
mostCurrent._ffmpegvideoview1.setObject((tv.danmaku.ijk.media.widget.VideoView)(mostCurrent._xml.GetView(mostCurrent.activityBA,"videoViewRelative")));
^
symbol: class danmaku
location: class tv