I have a cascading C / C ++ project. Which I embed in a shared library. But when I expand libxxx.so, I just found the source, there are no assets. But I used the images in the Assets folder, which is part of my project. And it should also be included in the shared library. Thus, another application using this shared library can access these resources.
Actually, I found this problem while I tested my shared library from another cascading application and often got crashes due to a null pointer exception due to lack of assets. And the problem is resolved when I insert images from the catalog of my resources into the new catalog of project assets.
Now, my question is: how can I create a shared library along with my images in the resource directory? And how to use them from another cascading application so that the client does not need to worry about these images inside the resource directory?
In fact, I searched a lot, but did not find a solution for BB10. Please comment on your valuable suggestions.
Thanks.
source share