This is an unfortunate limitation indeed but given our constraints this is the only way we could provide *secure* appwidgets in the platform.
On Tue, May 5, 2009 at 9:21 PM, bra...@gmail.com <peacoc...@gmail.com> wrote: > > That is actually kind if annoying and greatly limits the things we can > do with widgets. Are there any plans to change this or do I have to > kiss my xeyes port goodbye forever. > > On Apr 21, 3:17 pm, Tom Gibara <m...@tomgibara.com> wrote: >> It's an intentional limitation. Only views that are implemented by the >> framework can be used, and only those that are annotated as safe for >> remoting. >> I don't know if there is a list provided in the SDK docs, but as of 1.5 the >> supported Views are: >> >> AbsoluteLayout >> AnalogClock >> Button >> Chronometer >> FrameLayout >> ImageButton >> ImageView >> LinearLayout >> ProgressBar >> RelativeLayout >> TextView >> >> Tom >> >> 2009/4/21 Joel <jkluss...@gmail.com> >> >> >> >> > I'm excited about the app widget functionality, and I've been playing >> > with it for a bit. I love the idea that downloadable apps can >> > customize the home screen with arbitrary data. >> >> > Is it possible to create my own custom views and use them inside of an >> > app widget? For instance, if I wanted to have MyView (which extends >> > View) and use it in my layout, would that be possible? I tried to do >> > this, but ran into an InflateException that was thrown as a result of >> > a ClassNotFoundException. I wasn't sure if this was a result of some >> > coding error on my part or if this was an intentional limitation of >> > the framework. >> >> > Joel >> >> > > > -- 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 -~----------~----~----~----~------~----~------~--~---