Skip to content Skip to sidebar Skip to footer

Create App Shortcut Inside The Custom Launcher In Android

I'm trying to develop a custom launcher that will contain the shortcut of my installed application (or even apk files). I can create a shortcut BUT outside the application and what

Solution 1:

What you are creating is not a launcher like the home screen, its just an application. The launcher category refers to the activity being listed in the all apps drawer. I don't think applications can add their own shortcuts otherwise spam ware could just keep adding its icon to your home screen like this and annoy every user.

Also installUninstall_ShortCut is not how we name things in Java! Actually it doesn't match any naming convention I've ever come across

If you want to mimic adding-shortcut-like functionality then you can get the grid view and call addView on it

Post a Comment for "Create App Shortcut Inside The Custom Launcher In Android"