Use Android library projects:

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

2010/12/21 Jiang <[email protected]>

> Thanks,
>
> Both a.apk and b.apk contains UI and resources, so if I export a.apk as
> a.jar, and import a.jar to the project of b.apk, during building, the
> following message display:
> Error generating final archive: duplicate entry res/drawable/icon.png
>
> would you please tell me how to implement as you said? Thanks.
>
> BR,
> -Jiang
>
>
>
> --- *10年12月21日,周二, TreKing <[email protected]>* 写道:
>
>
> 发件人: TreKing <[email protected]>
> 主题: Re: [android-developers] How to embed a package in another package
> 收件人: [email protected]
> 日期: 2010年12月21日,周二,下午12:00
>
> 2010/12/20 Jiang <[email protected] <http://mc/[email protected]>
> >
>
> Since the 2 packages are developed by 2 teams, it is more simple to
> maintain�souce code in embeded mode.
>
>
> Then have these two teams give you two jar files or one jar and one apk
> that uses it.
>
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices
>
>  --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>
>
>
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
Available!

-- 
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

Reply via email to