First of all i will explain the situation. I would like to make a prefs archive to edit some widget labels, for that i have a widgetProvider who calls an Activity
- Code: Select all
Intent configIntent = new Intent(context, widgetActivity.class);
PendingIntent actionPendingIntent = PendingIntent.getActivity(context, 0, configIntent, 0);
In te action I attach the widgetID to save the prefs with that name. The Activity (prefs screen) loads perfectly and the archive saves too, but i don't know how to tell de widgetProvider that the Activity has finished so it must update.
The question is if it can be done, or if you know other way to do that. Please if anyone knows an alternative feel free to say it.
Thank you very much and apologize for my english.