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 always get a little oval in the middle which I don't want... And I have to hit the back-button to erase it... My existing code is: ------------------------------------------------ RemoteViews updateViews = null; updateViews = new RemoteViews(context.getPackageName(), R.layout.widget_word); updateViews.setTextViewText(R.id.definition, "off"); Intent intent = new Intent(this, Translate.class); PendingIntent pendingIntent= PendingIntent.getActivity(context, 0, intent, 0); updateViews.setOnClickPendingIntent(R.id.widget, pendingIntent); ------------------------------------------------- Thanks for any suggestions! jim -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en