I want to whether my widget is installed by user or not , do you know any way to find out user installed my widget or not , I am know that there is no specific or documented way to do this .
Do you have any suggestion ?
thanks
if when user installed my widget , I get some codes or any where I will be notifed (like OnUpDate) , I can save that in my shared prefs .
Do you know this code or way ?
you can use
getInstalledProvidersfor getting list of all installed app widgets.as: