Accessing application resources from the library project
<p>My application depends on a library project.</p>

<p>The <strong>menu.xml</strong> file is within the application project.<br>
All the java code is within the library project, including the menu handler code <strong>onOptionsItemSelected()</strong>.</p>

<p>Is there a way to access the application resources from library project ? I'd like to write something like this, which is currently impossible, since menu items are not visible from the library:</p>

<pre><code>if ( item.getItemId()==R.id.settings ) {
...
}
</code></pre>
