On Sat, Nov 6, 2010 at 12:13 PM, mattelacchiato <mattelacchi...@googlemail.com> wrote: > i have published a free app on the market. Now i want to create a > second "pro" (paid) app. According to > > http://developer.android.com/guide/publishing/licensing.html#app-publishing > > i have to publish the new paid app with a different package name. > > Is there a way to share the same code for both apps, including > resources (styles, strings, etc)?
Use an Android library project: http://developer.android.com/guide/developing/eclipse-adt.html#libraryProject http://developer.android.com/guide/developing/other-ide.html#libraryProject -- 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 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