On Sat, May 21, 2011 at 2:13 PM, Simon Platten <[email protected]> wrote: > I have several applications that are very similiar in framework, but > different in content. I would like to standardise these applications as > much as possible. Is it possible to create a Jar that contains a base class > activity and the layout resource. Then create applications that import that > Jar file but do not have they're own layout in the local project? > > My application activity would be derived from the base class activity in my > Jar file.
No, but you can create Android library projects that contain layout resources: http://developer.android.com/guide/developing/projects/projects-eclipse.html#SettingUpLibraryProject http://developer.android.com/guide/developing/projects/projects-cmdline.html#SettingUpLibraryProject -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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

