I am developing a study project using the mosembro (mobile semantic browser) project inside my Android project. I am using Eclipse and I created my project, downloaded / imported mosembro and included in my project's build path.
So now my code needs to refer to a resource in the mosembro's project. I want to do something like this:
String commonJS = getScript(R.raw.common);
In this snippet, I want to load a javascript file from mosembro's project: res -> raw -> common.js
so I need the java syntax to get "R" (precompiled resource-class) of Mosembro from my HelloGoogle project.
What is the syntax to replace the R-class
of this
with the included project's R-class
.
Is that clear?