[android-developers] Re: branding existing app

2012-04-04 Thread Mark
themes don't quite seem to handle what's needed.  i have one
application or project that i want to deploy as 2 applications. build
as app a, then build as app b.  i can easily copy in / out a different
resource folder, but that doesn't handle the application package.
each app in the store needs a different package.  my app code uses
the namespace, org.bnb for the classes, but i want to deploy for
Bob's Bed n Breakfast and for Sue's Bed and Breakfast, com.bbnb
and com.sbnb.  Android seems to use the package name as the
application name (from the manifest).  i've been able to override thus
far the package name that the R class uses, but when i try to run, the
other classes seem to want to come from the manifest package naming.

ar.

any help on this is most appreciated.  android could use an app name
and keep that separate from the code naming.

On Apr 4, 12:28 am, TreKing treking...@gmail.com wrote:
 On Tue, Apr 3, 2012 at 6:49 AM, Mark mlybar...@gmail.com wrote:
  How would i go about switching the resources and the R class?

  Are there other ideas on how to properly brand an application?

 I'd would investigate using Themes.

 --- 
 --
 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] Re: branding existing app

2012-04-04 Thread Albert Rosa
You're looking to have two apps with the same code base, different package
/ app name. Releasing two apks. The only way I see this likely is to use
two different projects with a core library containing the code that you'd
like to reuse.

sent from my mobile thoughts.
On Apr 4, 2012 7:16 AM, Mark mlybar...@gmail.com wrote:

 themes don't quite seem to handle what's needed.  i have one
 application or project that i want to deploy as 2 applications. build
 as app a, then build as app b.  i can easily copy in / out a different
 resource folder, but that doesn't handle the application package.
 each app in the store needs a different package.  my app code uses
 the namespace, org.bnb for the classes, but i want to deploy for
 Bob's Bed n Breakfast and for Sue's Bed and Breakfast, com.bbnb
 and com.sbnb.  Android seems to use the package name as the
 application name (from the manifest).  i've been able to override thus
 far the package name that the R class uses, but when i try to run, the
 other classes seem to want to come from the manifest package naming.

 ar.

 any help on this is most appreciated.  android could use an app name
 and keep that separate from the code naming.

 On Apr 4, 12:28 am, TreKing treking...@gmail.com wrote:
  On Tue, Apr 3, 2012 at 6:49 AM, Mark mlybar...@gmail.com wrote:
   How would i go about switching the resources and the R class?
 
   Are there other ideas on how to properly brand an application?
 
  I'd would investigate using Themes.
 
 
 ---
 --
  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

-- 
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] Re: branding existing app

2012-04-04 Thread TreKing
On Wed, Apr 4, 2012 at 6:15 AM, Mark mlybar...@gmail.com wrote:

 themes don't quite seem to handle what's needed.  i have one
 application or project that i want to deploy as 2 applications. build
 as app a, then build as app b.  i can easily copy in / out a different
 resource folder, but that doesn't handle the application package.


Oh. I was confused with your talk of branding.


  each app in the store needs a different package.  my app code uses
 the namespace, org.bnb for the classes, but i want to deploy for
 Bob's Bed n Breakfast and for Sue's Bed and Breakfast, com.bbnb
 and com.sbnb.  Android seems to use the package name as the
 application name (from the manifest).  i've been able to override thus
 far the package name that the R class uses, but when i try to run, the
 other classes seem to want to come from the manifest package naming.

 ar.

 any help on this is most appreciated.  android could use an app name
 and keep that separate from the code naming.


Create a base library project that has all the core code. Then derive a new
app / project / brand that uses that library project with a new package
name for each version you want.

-
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