android - Updating text in a widget on an event -
i created class downloads text internet , want take text , update textview in widget. know event (ondownloadcompletelistener) getting triggered because i'm logging can't figure out how update textview within event. know it's newbie mistake, not sure i'm missing. public class widget extends appwidgetprovider{ internettext internettext; //handles downloading text internet remoteviews views; public void onupdate(context context, appwidgetmanager appwidgetmanager, int[] appwidgetids) { final int n = appwidgetids.length; // perform loop procedure each app widget belongs provider (int i=0; i<n; i++) { int appwidgetid = appwidgetids[i]; // create intent launch exampleactivity intent intent = new intent(context, mainactivity.class); pendingintent pendingintent = pendingintent.getactivity(context, 0, intent, 0); // layout ...