1

TextureView in a Fragment never calls onSurfaceTextureAvailable

view story
linux-howto

http://stackoverflow.com – I've seen lots of examples using TextureView in a main Activity but I'm trying to put it into a Fragment. I've created the simplest example possible and its onCreateView is being called, onActivityCreated as well but onSurfaceTextureAvailable isn't being called after passing back the TextureView. What am I missing ? Thanks G public class FullscreenActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_fullscreen); } } public class TextureViewFragment (HowTos)