SurfaceView in widget
问题 I am implementing a widget for TV application in which I want to show streaming so I have to place SurfaceView in it. As widget has RemoteViews, how can I use SurfaceView to set value of SurfaceHolder ? I have defined SurfaceView in xml. I have searched on internet but didn't find any help. I want instance of SurfaceView so that I can play with it. 回答1: As widget has RemoteViews, how can I use SurfaceView That is not possible. SurfaceView is not available for use with app widgets, as is