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...
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
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
3 matches
Mail list logo