Tuesday, November 16, 2010

Re: [android-developers] implementing an android "framework"

On Tue, Nov 16, 2010 at 5:21 PM, ping <bernd.warmuth@gmail.com> wrote:
> Hello,
> I have 2 apps which should both contain some similar activities....
> Now I decided to write a new app, some kind of "framework", which
> contains these activities, to avoid to write the code twice.
> How can I use these activities in my other 2 apps ? Whats the common
> approach for doing this? Adding the "Framework app" to the build path
> of the two other apps won't work.....
>
> greets

Did you try setting the common code as Library Project?

http://developer.android.com/guide/developing/eclipse-adt.html#libraryProject

--
Daniel Drozdzewski

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate