You cannot do this. RemoteViews exist in part for security reasons and one of the key points is that you cannot run random code with RemoteViews.
On Mon, Nov 16, 2009 at 11:55 AM, GPU <gopuraj...@gmail.com> wrote: > Hi , > > I want to override a function of view class, only to the views came > from the RemoteViews(Widget screens) . > > in AndroidHome application. > > > But these views inflated in Remoteviews.apply(context ,parent); > function > > Anybody knows that how to do this ? > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en