Re: [android-developers] Jar with resources like android.jar

2011-03-29 Thread Xavier Ducrohet
You can't (right now). android.jar is special because these are the framework resources that exist on the device. Android.jar is not bundled with your project's code and resources, and the resources in android.jar are not part of your application's R class. A Jar with resources that is meant to b

Re: [android-developers] Jar with resources like android.jar

2011-03-29 Thread Daniel Drozdzewski
On Tue, Mar 29, 2011 at 3:52 PM, Jordan 5222 wrote: > Can someone of the Android team give me a hint? Or just a "no you can't", > but i don't understand why. What exactly do you want to achieve or know about android.R ? It is a class created ahead of compiling of the source code by aapt. R conta

Re: [android-developers] Jar with resources like android.jar

2011-03-29 Thread Jordan 5222
Can someone of the Android team give me a hint? Or just a "no you can't", but i don't understand why. 2011/3/28 Mark Murphy > On Mon, Mar 28, 2011 at 8:56 AM, Jordan 5222 > wrote: > > Thank you for the reply, Mark. > > Any hint where to study how android.R class works? > > I suppose that it's g

Re: [android-developers] Jar with resources like android.jar

2011-03-28 Thread Mark Murphy
On Mon, Mar 28, 2011 at 8:56 AM, Jordan 5222 wrote: > Thank you for the reply, Mark. > Any hint where to study how android.R class works? > I suppose that it's generated when we compile the entire Android system, in > a similar way of the standard R class, but it takes a "photo" of system > resour

Re: [android-developers] Jar with resources like android.jar

2011-03-28 Thread Jordan 5222
Thank you for the reply, Mark. Any hint where to study how android.R class works? I suppose that it's generated when we compile the entire Android system, in a similar way of the standard R class, but it takes a "photo" of system resources. 2011/3/28 Mark Murphy > On Mon, Mar 28, 2011 at 5:42

Re: [android-developers] Jar with resources like android.jar

2011-03-28 Thread Mark Murphy
On Mon, Mar 28, 2011 at 5:42 AM, Jordan 5222 wrote: > I would like to package my classes and my resources in a .jar file to > redistribute it. > Is it possible? No, sorry. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://t

[android-developers] Jar with resources like android.jar

2011-03-28 Thread Jordan 5222
I would like to package my classes and my resources in a .jar file to redistribute it. Is it possible? I know that from sdk r8 there is the possibility to add a project as a Library, but if I can do this way it's better. Classes are not a problem inside a jar, but resources? How can i have a cus