0
votes

I'm writing a Titanium module, and need to reference an Android Library in the project. Setting up the module to include and android libarary reference is fairly straight forward.

All of the documentation and help I can find is for referencing a library by it's .jar file. This is fine when the library being referenced doesn't contain any of it's own external resources (localization strings, images, etc). However, when a library DOES contain it's own resources, Android documentation stipulates that you must refrence the library project itself instead of just including a reference to the compiled .jar file.

I can't find any documentation on how to setup such a reference in a titanium module. I have been able to get my module to compile by setting up a project reference in the "Java build Path" of my module's properties. However, I get runtime errors as the module tries to access resources from the library project (in my case, localized strings from strings.xml) and they can't be found.

What (if any) is the proper method to configure a Titanium module to use an external Android Library that provides resources?

1

1 Answers

0
votes