Application Shortcuts:
You can specify installed applications using:
final PackageManager pm = getPackageManager();
If you need additional information, for example, an application icon, follow these steps: How to get a list of installed applications for Android and choose one to launch
You can then add the layout with the ListView to the Fragment / Activity page.
Add the applications you want and onClick events to the ListView adapter to create the intention to open them.
I think this is the best way to show a list of applications, icons, etc.
Widgets: I have never seen widgets inside an application, but according to the below fooobar.com/questions/1380762 / ... , there is a way.
If you are interested in something completely different ... instead, you can create your own screen and use it instead of the usual one. This will not be an application.
source share