Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android application not starting from shortcut

My application not starting from shortcut on device screen, but start from application list. This behaviour is reported for android 4.x This problem appears after installing application update. Shortcut is created for previous one. I'm not sure who created it - OS or user.

Update:
Can I add/remove shortcut from home screen during install/uninstall?

like image 368
Kostadin Avatar asked Jun 11 '12 07:06

Kostadin


1 Answers

If the application update changed the launcher activity name, then the shortcut can no longer find the application. See Things That Cannot Be Done for an explanation: basically your manifest xml is public API that you should only change very carefully.

If this is the case in your application, there is a way to disable old launcher activity (which should remove all icons and shortcuts pointing to it) but I'm not sure if the disadvantages mentioned on the page still apply.

like image 185
Jussi Kukkonen Avatar answered Nov 05 '22 19:11

Jussi Kukkonen