Now wants a project references to other works, including the java class references, resources, pictures and other resource files,
In eclipse using "android.library.reference" can be used,
But now does not want to provide the source code, the entire project labeled as a package, and how to use a reference to the package packed pictures, resource files, etc.?
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Code reuse is possible, the resources in android is another treatment, pictures, strings are in R file has references, cited in another project, is not enough, because another project file without introducing R engineering resources in the picture.
Probably mean it
Reply:
The same problem ah, do not have a big God out of wood to solve it?
Reply:
Resources can be made into an APK
Then use the application needs to call a method in createPackageContext APK's access to resources and then you can access the Context
No comments:
Post a Comment