But accessing the library resources should be done in the same way both in the library project and in the application : if com.lib is the lib package, I should be able to access com.lib.R from the application. In my case It's merged in com.app
On Jul 6, 5:53 pm, TreKing <[email protected]> wrote: > On Wed, Jul 6, 2011 at 10:45 AM, Guillaume <[email protected]>wrote: > > > To own yes but not in the same file ? When using your library for > > instance, R library file is created in its correct package in the > > application, rather than merged into the application R file. > > Did you read > this:http://developer.android.com/guide/developing/projects/index.html#Lib... > > "When you build an application that depends on a library project, the SDK > tools compile the library and merge its sources with those in the main > project" > > --------------------------------------------------------------------------- > ---------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

