Restrict Android Widget to one instance per device
How could I restrict Android widgets in a way that only one instance can be created by the user at all times?
You can't.
However, just because the user asks for multiple instances of your app widget does not mean you have to manage separate data for each. Just ignore the IDs and use the updateAppWidget()
method that does not take any IDs.