Re: [android-beginners] When clicking on a widget, how to make it just change the text inside the widget?

2010-07-03 Thread james pruett
thanks Mark, worked great. (Code shown below for future reference) RemoteViews updateViews = new RemoteViews(context.getPackageName(), R.layout.widget_word); Intent i=new Intent(this, WidgetService.class); PendingIntent pi=PendingIntent.getService(this, 0, i, 0);//Note Service here...

Re: [android-beginners] When clicking on a widget, how to make it just change the text inside the widget?

2010-06-30 Thread Mark Murphy
On Tue, Jun 29, 2010 at 11:31 PM, cellurl gpscru...@gmail.com wrote: I have a working widget. When pressed, it launches a class. Instead of launching a class, I just want it to change the text in the widget and also change setOnClickPendingIntent to something different. Use a service or

[android-beginners] When clicking on a widget, how to make it just change the text inside the widget?

2010-06-29 Thread cellurl
I have a working widget. When pressed, it launches a class. Instead of launching a class, I just want it to change the text in the widget and also change setOnClickPendingIntent to something different. Or perhaps I should rephrase and say, If I launch a class, how can I make it invisible? Eg, I