[android-developers] Re: Creating a private jar

2009-04-03 Thread Fred Grott(shareme)
Yes there is another way.. I must preface this this does not work for all resources.. However, if you are only dealign with layout prameters about 75% fo those XML attributes have the corresponding accessible setters and getters.. That means if you rewrite the widgets to use setters and

[android-developers] Re: Creating a private jar

2009-04-02 Thread Mark Murphy
Looking at the Android source code, I noticed that android.jar contains its own ressources so I assume this is possible. Yeah, but that's special. There is no way for JARs written to support SDK-level applications to embed resources that I have found. Instead, you need to package your

[android-developers] Re: Creating a private jar

2009-04-02 Thread Cyril Mottier
Yeah it's kinda boring to use that method :(. I developped my widgets in order to create them easily in an XML layout. Using the way you gave me (which, I think, is not that bad when you're just using images), the user won't be able to create it through an XML layout. Moreover, my classes use the