Android Question [Solved] What is library of csbuilder in B4J and B4i

Theera

Well-Known Member
Licensed User
Longtime User
Hi all,
I 'm creating B4XThaiUtils B4XLib file ,I don't know what is library of csbuilder in B4J and B4i.
Please advise for me.

Best Regards,
Theera
 

Theera

Well-Known Member
Licensed User
Longtime User
I have changed the rights now,I'm sorry that
I forgot.
 
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
But in B4xThaiUtils ,I don't used it. How do I do?
are you sure?
1694507332252.png
 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
just change the code from file.dirinternal to xui.***
What did you mean that?
xui.***
 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
B4X:
Sub Process_Globals
    Private xui As XUI
End Sub


...
DataPathName = xui.DefaultFolder
Why not be xui.dirinternal?
 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
B4X:
Sub Process_Globals
    Private xui As XUI
End Sub


...
DataPathName = xui.DefaultFolder
I must refer to Depend On xul.defaultfolder. in manifest,too. Or not?
 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
Thank you all of you. I think B4XThaiUtils will help to make Thai developlers are interested in B4X.
 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
Hi all,
After I did following as Alexandar's steps. It can be compiled,but it has error code as belows:
b4xthaiutils._initialize (java line: 492)
java.lang.RuntimeException: SetDataFolder must be called before using this method.
at anywheresoftware.b4a.objects.B4XViewWrapper$XUI.getDefaultFolder(B4XViewWrapper.java:951)
at b4j.example.b4xthaiutils._initialize(b4xthaiutils.java:492)
at b4j.example.b4xmainpage._initialize(b4xmainpage.java:90)
at b4j.example.b4xpagesmanager._initialize(b4xpagesmanager.java:484)
at b4j.example.main._appstart(main.java:61)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:111)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:98)
at b4j.example.main.start(main.java:37)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$8(LauncherImpl.java:863)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$7(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$4(WinApplication.java:185)
at java.lang.Thread.run(Thread.java:750)
There is something be wrong about SetDataFolder must be called before using this method?
How to code?

Best regards,
Theera
 

Attachments

  • B4XThaiUtils.rar
    4.8 KB · Views: 81
Upvote 0
Top