Re: [android-developers] publishing two versions of same application

2011-12-27 Thread TreKing
On Tue, Dec 27, 2011 at 9:54 AM, John Goche johngoch...@googlemail.comwrote:

 OK, so how do I set up an android library project then.


http://developer.android.com/guide/developing/projects/index.html#LibraryProjects


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

[android-developers] publishing two versions of same application

2011-12-27 Thread John Goche
Hello,

I have an application which I would like to publish as a free version
and then another with some extra features as a paid version. I was
wondering, if my package name is com.bar.foo and my application
name if com.bar.foo do I need to make a separate com.bar.foolite
application name for the free version or can I keep publish both
application under both reverse FQDNs.

Also, do I need to make two separate packages for them in eclipse
or is there a way I can keep both under one directory somehow?

Thanks for your comments and feedback,

John Goche

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

Re: [android-developers] publishing two versions of same application

2011-12-27 Thread TreKing
On Tue, Dec 27, 2011 at 9:29 AM, John Goche johngoch...@googlemail.comwrote:

 I was
 wondering, if my package name is com.bar.foo and my application
 name if com.bar.foo do I need to make a separate com.bar.foolite
 application name for the free version


You can have the same application name, but not the same package name.


 or can I keep publish both application under both reverse FQDNs.


I have no idea what that means.


 Also, do I need to make two separate packages for them in eclipse or is
 there a way I can keep both under one directory somehow?


Yes, but an Android Library Project will help consolidate the common code.

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

Re: [android-developers] publishing two versions of same application

2011-12-27 Thread John Goche
On Tue, Dec 27, 2011 at 4:43 PM, TreKing treking...@gmail.com wrote:


 Yes, but an Android Library Project will help consolidate the common code.


OK, so how do I set up an android library project then. Having to maintain
two separate source trees for every single application seems to be a pain.

Please share your approach with us, I am very willing to learn what the
alternatives may be,

Thanks,

John Goche

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

Re: [android-developers] publishing two versions of same application

2011-12-27 Thread James Black
What I did was to create a new project, with a new package name.
Then right-click on that project
go to properties
Then Android
Go to the bottom and click IsLibrary

I used the library activity as the main class and in the projects that use
the library I extend the library version.

You also need to go to properties-Android in your non-library and tell it
to use the library.

Then compile the library.

Restart eclipse.

Then finish development.
On Dec 27, 2011 10:54 AM, John Goche johngoch...@googlemail.com wrote:


 On Tue, Dec 27, 2011 at 4:43 PM, TreKing treking...@gmail.com wrote:


 Yes, but an Android Library Project will help consolidate the common code.


 OK, so how do I set up an android library project then. Having to maintain
 two separate source trees for every single application seems to be a pain.

 Please share your approach with us, I am very willing to learn what the
 alternatives may be,

 Thanks,

 John Goche

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