• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Jeanne Boyarsky
Saloon Keepers:
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Piet Souris
Bartenders:

How to brand my app?

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I would like to sell my app on google play as two separate products. Code base for both of them should stay the same. Diffrences should be in a way applications are themed, so different colors, some texts, bitmaps but also only some of them, in code I also should be able to read what current brand is.

Do I have to substitute package name in entire applicatiom? My current investigation indicates that I should use themes, is this the way to go?

Thanks
Martin
 
Author
Posts: 25
5
Android IntelliJ IDE Objective C
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Martin -

You will probably want to take a look at Library Projects to keep your codebase clean. A common pattern is to create a Library Project that has 90-100% of your Java code and a set of default resources for your themes and styles. You can then create multiple deployable application projects that utilize the library that simply override the resources (XML files and drawables) that you need to create a new theme or provide a different name, etc. for the application. Each deployable application will have its own package name, so that they can all be uploaded to Google Play, but the projects themselves will contain very little code so you shouldn't have too many issues with duplication.

More about Library Projects can be found on the Android Developer Site:
http://developer.android.com/tools/projects/index.html#LibraryProjects
 
Martin Jedrzejewski
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you, Library Project is probably the best solution

Martin
 
Don't MAKE me come back there with this tiny ad:
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
reply
    Bookmark Topic Watch Topic
  • New Topic