Re: [android-developers] Re: best way to copy an existing application

2013-02-13 Thread Raymond Rodgers

On 02/13/2013 09:05 AM, Digipom wrote:

Hi Lew,

Do you kindly have any evidence or documentation to back up your 
claims? I'm just curious. Why can't one just check the library checkbox?


I'd say it's better to create a library project for the simple reason 
that at some point he may want to update the original app. A library 
project would facilitate easy updates to both applications by having a 
single source for the shared code, and allow him to update and customize 
the two versions as he pleases. The only question in my mind, besides 
the obvious free/demo and paid versions, is why would there be two 
different versions of the same app, where the only difference are the 
background views...?


Raymond

--
Raymond Rodgers
http://www.badlucksoft.com/
http://anevilgeni.us/

--
--
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
--- 
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 android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: best way to copy an existing application

2013-02-13 Thread Digipom Inc.
Ok, I was just wondering, as I once turned an app project into a library
project by simply checking the checkbox, kept the old package name for the
library and created a new app project with a different package.

I was just wondering if there was something I might have overlooked or some
bad side effect to just checking that box, though it seems to have worked
to date. ;)

On Wed, Feb 13, 2013 at 9:25 AM, RichardC richard.crit...@googlemail.comwrote:

 You could do that but you might end up with package name problems if you
 want to keep your existing package name for your old application (and a new
 package name for the 2nd application).

 So you will probable need to rename the package of the library and this
 will have some knock-on effects on your existing code.

 From John Merlino's posting I assumed he was new to Android library
 projects and tried to keep my suggestions to him as simple as possible.


 On Wednesday, February 13, 2013 2:05:34 PM UTC, Digipom wrote:

 Hi Lew,

 Do you kindly have any evidence or documentation to back up your claims?
 I'm just curious. Why can't one just check the library checkbox?

 On Tuesday, February 12, 2013 5:13:25 PM UTC-5, Lew wrote:

 bob wrote:

 Does he really need to create a new library project?

   Yes.


 Or can he just check the Is Library checkbox on his existing project?

 No.


 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#
 **SettingUpLibraryProjecthttp://developer.android.com/tools/projects/projects-eclipse.html#SettingUpLibraryProject

 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.


 --
 Lew


  --
 --
 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
 ---
 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 android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
-- 
Digipom
http://www.digipom.com

-- 
-- 
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
--- 
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 android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.