Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can home screen icon be selected at install time?

 
Jeff Verdegan
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We're cobranding our app, and our partner wants their icon to appear on the homescreen rather than ours. That's easy enough to do in the Manifest, but that means separate builds. Is there anyway to 1) Invoke some of my app's code at install time (say, to query some information on the phone that tells my app it's being installed on a partner phone), and then 2) Act on that code to select which icon to display on the home screen.

I'm guessing that neither of these is possible, and so far my searching supports that theory. I'll probably have to end with separate builds anyway, but the less stuff I have to change in the codebase just to distribute via one channel vs. another, the better.

Thanks in advance!

 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think you can. I think the normal approach is to put all your code in one library project, then have separate application projects with different manifests, icons, and styles as needed, and which do nothing else but call into the library's starting point.
 
Jeff Verdegan
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, I figured something like that.

Thanks for confirming what a PITA this will be.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic