How to create shortcut by code?

i have seen android games that when installed creates a shortcut on the main screen of android phones. does anyone know how this is done in unity?

1 Answer

1

Unity doesn’t provide such a feature afaik, but it should be no problem with a native code plugin. However like Dan S mentioned in his answer it’s not wanted by most users. It would be better to ask the user at the first run if a shortcut should be created.

As i see you have managed to create one :wink: It would be nice if you could post an answer to show your solution.

thanks for the reply! about the shortcut, actually it was google play who did it. i just uploaded my APK and all other informations they needed...then voila! automatic shortcut created when installed...hehehe...