I have made a b4a library with an activity inside called from a class module of the library.
I had this message error: "java.lang.ClassCastException: java.lang.NoClassDefFoundError cannot be cast to java.lang.Exception"
I have already copied all .bal and images in my main project folder.
Anyone know If is it possible to have an activity inside a b4a library?
Thank you very much Erel, now it works but I have found two potentially problems:
In the same situation (Activity in a library) if I debug in rapid mode I have "NullPointerException" error, instead if I debug in Legacy mode it works correctly. The potentially problem should be the Keyword Activity used in the library (I call Activity.Title and Activity.Color), because if I remove them from the library it works correctly in rapid debug mode too.
Is a rapid debug mode problem or I was wrong something?
Sure, but since both the library and the project are very big, I'll realize a little sample and a little library with the same behavior and I'll send you all as soon as possible