3

Is there any way that the user can choose the application name and launcher icon of my app and set it programmatically?

I want to give the permission to user so that he can rename my application and also change the launcher icon of the app.

Is there any solution to this?

WISHY
  • 9,340
  • 22
  • 86
  • 156

2 Answers2

3

The only thing you can do is to define multiple Launcher Activities with pre-defined icons and labels, and enable/disable them programmatically.

setComponentEnabledSetting (ComponentName componentName, int newState, int flags)

Simon Marquis
  • 6,927
  • 1
  • 26
  • 43
1

It is not possible to change either of these values easily. You could create new Launcher Icons from inside the app, and then control them easier - like the other answer suggests).

Bottom line, this is not easily done using standard Android framework to the best of my knowledge.

Booger
  • 18,259
  • 7
  • 52
  • 71