Hi Erel,
I tried the BBListItem - BCTextEngine inside CLV project, second post, with several texts.
I get a display problem.
Long texts are not displayed entirely.
In all three platforms.
In B4A I get an error file not found, it is an image file in File.DirAssets, it is there and he name is correct.
Error occurred on line: 428 (BBCodeParser)
java.io.FileNotFoundException: /data/user/0/b4a.BCTextInCLV/files/virtual_assets/dreamview.jpg: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:492)
at java.io.FileInputStream.<init>(FileInputStream.java:160)
at anywheresoftware.b4a.objects.streams.File.OpenInput(File.java:205)
at anywheresoftware.b4a.objects.drawable.CanvasWrapper$BitmapWrapper.initializeSampleImpl(CanvasWrapper.java:601)
at anywheresoftware.b4a.objects.drawable.CanvasWrapper$BitmapWrapper.InitializeResize(CanvasWrapper.java:548)
at anywheresoftware.b4a.keywords.Common.LoadBitmapResize(Common.java:1370)
at anywheresoftware.b4a.objects.B4XViewWrapper$XUI.LoadBitmapResize(B4XViewWrapper.java:713)
at b4a.BCTextInCLV.bbcodeparser$ResumableSub_SetImageView.resume(bbcodeparser.java:1423)
at b4a.BCTextInCLV.bbcodeparser._setimageview(bbcodeparser.java:1201)
at b4a.BCTextInCLV.bbcodeparser._texttorun(bbcodeparser.java:514)
at b4a.BCTextInCLV.bbcodeparser._createruns(bbcodeparser.java:316)
at b4a.BCTextInCLV.bblistitem._parseanddraw(bblistitem.java:1090)
at b4a.BCTextInCLV.bblistitem._settext(bblistitem.java:97)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:351)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
at anywheresoftware.b4a.debug.Debug.delegate(Debug.java:262)
Attached the test project.
I tried the BBListItem - BCTextEngine inside CLV project, second post, with several texts.
I get a display problem.
Long texts are not displayed entirely.
In all three platforms.
In B4A I get an error file not found, it is an image file in File.DirAssets, it is there and he name is correct.
Error occurred on line: 428 (BBCodeParser)
java.io.FileNotFoundException: /data/user/0/b4a.BCTextInCLV/files/virtual_assets/dreamview.jpg: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:492)
at java.io.FileInputStream.<init>(FileInputStream.java:160)
at anywheresoftware.b4a.objects.streams.File.OpenInput(File.java:205)
at anywheresoftware.b4a.objects.drawable.CanvasWrapper$BitmapWrapper.initializeSampleImpl(CanvasWrapper.java:601)
at anywheresoftware.b4a.objects.drawable.CanvasWrapper$BitmapWrapper.InitializeResize(CanvasWrapper.java:548)
at anywheresoftware.b4a.keywords.Common.LoadBitmapResize(Common.java:1370)
at anywheresoftware.b4a.objects.B4XViewWrapper$XUI.LoadBitmapResize(B4XViewWrapper.java:713)
at b4a.BCTextInCLV.bbcodeparser$ResumableSub_SetImageView.resume(bbcodeparser.java:1423)
at b4a.BCTextInCLV.bbcodeparser._setimageview(bbcodeparser.java:1201)
at b4a.BCTextInCLV.bbcodeparser._texttorun(bbcodeparser.java:514)
at b4a.BCTextInCLV.bbcodeparser._createruns(bbcodeparser.java:316)
at b4a.BCTextInCLV.bblistitem._parseanddraw(bblistitem.java:1090)
at b4a.BCTextInCLV.bblistitem._settext(bblistitem.java:97)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:351)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
at anywheresoftware.b4a.debug.Debug.delegate(Debug.java:262)
Attached the test project.