0

I noticed that default behavior for most applications installed from Play Store is to automatically add an icon to the launcher in use (at least in Google Launcher).

I can't test on iOS but I guess that's the default behavior for any app, since there is no app drawer.

However when I deploy my Cordova app to device this doesn't happen. Is there a way to "tell" Android system to do it?

I simply have no clue if and how it's feasible.

halfer
  • 19,824
  • 17
  • 99
  • 186
dragonmnl
  • 14,578
  • 33
  • 84
  • 129

1 Answers1

1

There is an option on Google Play app Settings, called "Add icon to Home screen" for new apps, it comes checked by default, so any app you install from google play will add the icon to Home screen, but apps installed while developing or downloaded from another sources won't

jcesarmobile
  • 51,328
  • 11
  • 132
  • 176
  • hey @icesarmobile, I'll accept the answer. However I believe apps can actually create the icon **programmatically** since native apps can actually create icons (some of them do it for spam, some other they just self-add themselves to launcher at runtime) – dragonmnl Oct 24 '15 at 15:07
  • Yeah, it's possible, see this question (not the accepted answer) and all the links to other questions, but It doesn't work on all devices or android versions http://stackoverflow.com/questions/6988511/how-to-add-apps-shortcut-to-the-home-screen – jcesarmobile Oct 24 '15 at 15:37
  • thank you. very interesting. but it's just for native apps. isn't it? – dragonmnl Oct 26 '15 at 16:57
  • You can create a cordova plugin that executes that code – jcesarmobile Oct 26 '15 at 17:24