M P Mathugama
M P Mathugama

Reputation: 1418

Remove all home screen shortcuts programatically in Android

I want to delete all home screen shortcuts in Android programmatically. I have already written an app to create my own shortcuts for opening up a browser instance & directing to specific URI & delete only those programmatically. When deleting shortcuts this way, I have to provide the exact name & URI for each shortcut.

How can I achieve the same thing for existing shortcuts which were not created by me (like browser, calendar or any other app default created a shortcut on home screen)?

Upvotes: 1

Views: 1491

Answers (1)

mbwasi
mbwasi

Reputation: 4237

This seems like something that shouldn't be and probably isn't possible for security reasons.

Upvotes: 3

Related Questions