|Fragment Project as a resource project [message #522580]
||Tue, 23 March 2010 09:00
Registered: March 2010
I know fragment is used for language and platform specific codes. I just want to ask if I can also used it to stored my resources, like images, text files etc.
For example, I have a plugin that used an image, that image will be stored in the fragment say in the res directory. Unfortunately, when I invoked the code:
//it throws java.lang.NullPointerException
I thought the fragment would share the host plugin's Activator but it seems it can't find the res folder.
BTW, I've also included the res folder in the fragment's Build Configuration
Powered by FUDForum
. Page generated in 0.03058 seconds