Android Question [Solved]Cannot serialize object

Johan Hormaza

Well-Known Member
Licensed User
Longtime User
Hello, I have a problem when sending a serialized object.
Here I attach the example.
Thank you

Johan Hormaza
 

Attachments

  • PCL_Bluetooth_B4A.zip
    14.8 KB · Views: 92

Johan Hormaza

Well-Known Member
Licensed User
Longtime User
Yes. And the custom types cannot hold unsupported types such as classes or views.
I'm trying to emulate two Android Parcelable classes like the Java code exposed here.
 
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
Thanks Erel, you mean that they are not classes but Type? Something like that?
B4X:
    Type TransactionIn(...)
    Type TransactionOut(...)
    Type DoTransactionTask(transIn1 As TransactionIn, transOut1 As TransactionOut)
Custom types are not classes and viceversa, of course.
Custom types cannot have methods (Subs), for example.

You only know if Transaction In & Out can be simple custom types instead of classes.
 
Upvote 0
Top