• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Can home screen icon be selected at install time?

 
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!

 
Bartender
Posts: 4179
22
IntelliJ IDE Python Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yeah, I figured something like that.

Thanks for confirming what a PITA this will be.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic