Using the PCSBuilderPlus class, as posted here:
https://www.b4x.com/android/forum/threads/save-load-text-formatted.92263/#post-583864
Nearly got this working but get this error when trying to retrieve the byte array with ToBytes (made Public):
java.lang.RuntimeException: Cannot serialize object: android.widget.EditText{4adef6f VFED..CL. ......ID 0,264-1056,1023 #b}
EditText is my SQL EditText. Error is resolved if I don't make the CSBuilder clickable, so if I don't do in my formatting Sub:
Any idea how to solve this?
RBS
https://www.b4x.com/android/forum/threads/save-load-text-formatted.92263/#post-583864
Nearly got this working but get this error when trying to retrieve the byte array with ToBytes (made Public):
java.lang.RuntimeException: Cannot serialize object: android.widget.EditText{4adef6f VFED..CL. ......ID 0,264-1056,1023 #b}
EditText is my SQL EditText. Error is resolved if I don't make the CSBuilder clickable, so if I don't do in my formatting Sub:
B4X:
cs.EnableClickEvents (edtSQL)
Any idea how to solve this?
RBS