I did it the following way:

- Create your Android project as normal
- Right click the project in Eclipse, select Properties > Builders
- Uncheck all the builders apart from Java Builder
- Remove the unnecessary Android files (Manifest, res, gen, etc)
- Export your project as a Jar file via right click > Export
- In the project you want to use the jar, set the jar location to the
build path and subclass the abstract class.

On Jan 12, 11:59 pm, Raconteur <mythosracont...@gmail.com> wrote:
> Hi gang,
>
> Sorry for the cruddy subject line, but couldn't think of a short way
> to phrase this.
>
> I want to create an abstract subclass of Activity that adds some of
> the basic functionality that our team requires in all Activity
> subclasses.
>
> I am working in eclipse (Galileo with ADT), and when I try to make an
> Android project and add the class there, I get weird problems with
> class verification of the subclasses of our Activity class
> (XDCActivity).
>
> I tried making just a plain Java project and adding the class in
> there, but then I lose the ability to invoke R and other conveniences.
>
> Can someone give me an idea of how to go about accomplishing this?
>
> In a nutshell, what I want is to insert functionality bewteen
> android.app.Activity and our proprietary Activity subclasses in
> XDCActivity so that my developers can inherit the requisite
> functionality.
>
> Please let me know if you need more detail... hopefully this is
> enough.
>
> Cheers,
>
> Chris
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to