Yes and change the Java package name(s) to match the name of the library 
package.

On Wednesday, February 13, 2013 5:17:44 PM UTC, John Merlino wrote:
>
> When you say "put existing shared code", does this literally mean copy and 
> paste all the .java and layout files from the one application to the 
> library project?
>
> On Tuesday, February 12, 2013 3:24:22 PM UTC-5, RichardC wrote:
>>
>> Create an new Android Library project.
>> Put all your existing shared code and resources into it.
>> Create 2 new Android Projects (one with your old package name and the 
>> other with a new package name), and set them to use your Android Library 
>> project.
>> Put the different resources into the Application Projects.
>>
>> To setup a Library project see:
>>
>> http://developer.android.com/tools/projects/projects-eclipse.html#SettingUpLibraryProject
>>
>> On Tuesday, February 12, 2013 8:08:36 PM UTC, John Merlino wrote:
>>>
>>> I have an application already created and up and running on google 
>>> play. I need to create a second application where everything is the 
>>> same, other than the background views. So I am wondering the easiest 
>>> way to essentially clone an application so that all I have to do is 
>>> create new keys and change the background images. thanks for response. 
>>>
>>

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to