Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows Phone 7.5/8 - Optimal way to support multiple brands

I am creating an app which needs to support multiple brands. The majority of the underlying code is the same for each customer. The differences is only related to branding. The, the following components are customer specific:

  1. Images, logos, color schemes
  2. Slogans, Terms of Conditions, Privacy Policies
  3. App Icons

Does anyone know the optimal way to accomplish this in Windows Phone 7 & 8? Particularly given the fact that the windows phone framework uses xaml and binding.

Thanks

like image 246
Native_Mobile_Arch_Dev Avatar asked Dec 10 '12 14:12

Native_Mobile_Arch_Dev


1 Answers

Assuming you don't have a ton of different brands to support, I'd suggest just creating multiple projects and then linking the files between them. Something similar to how you support Windows Phone 7.5 and 8 with the same code base.

1) Create your base project with Brand A icons, logos. 2) Put your brand specific text in a resource file 3) Put your color schemes in a resource dictionary

When you're ready to create your next project you can either:

a) Just make a copy and update the images, text, and colors or b) Create another project and add the new images to it, add a new resource file, and create a separate resource dictionary, but link all the code and xaml files from the first project.

If you use method b it will mean you only have change your code and views once and it will update across projects.

like image 59
Bryant Avatar answered Oct 11 '22 11:10

Bryant