Android Question how to check home screen shorcuts that don't link to an app

Rick Jara

New Member
Licensed User
Longtime User
Hi All, my first post and a curly question (maybe)!

I was able to successfully swap my internal SD card with my external SD on my android tablet, so now i have more app storage! However, now most of the icons (shortcuts) on my home screen, when clicked (or pressed) say "app isn't installed". So my question is how can I enumerate all the icons on the home screen, check if they link a an actual installed app, and if not, remove the icon.

The manual way would be to list the icons that have no app and re-install them, but what fun would that be, and besides i have so many of them. This is just the kind of thing i would like to code a solution for, with your help!:)

I've searched the forum, but have not found anything, perhaps because I'm not sure what to search for! If this has been answered I do apologise in advance for not finding it!:(

Anyway if anyone has a idea or example to look at, I would greatly appreciate it.:D
 

Rick Jara

New Member
Licensed User
Longtime User
Erel, so your saying there is no programmable way to check the shortcut icons to see if there have ling to installed apps? If you had these issue how would you tackle it? Is there a way to list shortcut properties so that I could say change the shortcut label to for example "No App Avail" if it has no app link etc So, that way I could them manually delete the shortcuts with that label instead of having to check each shortcut manually?

Is there a difference between an apps icon and a shortcut, is a shortcut another copy of the apps icon?

What library specifically deals with shortcuts?

By the way I've been viewing the many video you have posted under the tutorial part of the forum and learning lots, so thank!
 
Last edited:
Upvote 0

Rick Jara

New Member
Licensed User
Longtime User
Sorry, yes I meant the shortcuts manually made on the home screen. Sorry, I'm still new to the Android world and terminology. I come from a pc/windows background coding in PureBasic.
 
Last edited:
Upvote 0
Top