Hi, i'm trying to change the text on a textview for a homescreen widget. I created a class just for transferring a string to the widget.class and the main.class. The user gets to enter in text using a edittext they press the button when finished, this takes the text and sends it to the .class i made and holds it there. then for the widget.class i put
Using java Syntax Highlighting
words words = new words();
text = words.getUserinput();
Parsed in 0.013 seconds, using GeSHi
so it returns the string to widget.class and then i use setTextViewText to set the text... i put this code in the onUpdate method. Now i think the android:updatePeriodMillis="5000" line in widget_provider.xml is the interval in which the onUpdate method is executed?? soo when the string is changed, after 5 seconds the onUpdate should kick in and the textview should change... however it is not. Is my thought process correct on everything?