代碼: TextureView textureView1;
View view2;
View view1=getLayoutInflater().inflate(R.layout.activity_main,null);
LayoutInflater inflater1=getLayoutInflater();
view2=inflater1.inflate(R.layout.layout11,(ViewGroup)view1);
textureView1=(TextureView)view2.findViewById(R.id.textureView);
textureView1.setSurfaceTextureListener(this);
結果無法回呼onSurfaceTextureAvailable函式。。
運行提示:Couldn't load memtrack module
很有可能是布局獲取的方式不對啊,求大神指教,感激涕零!!!
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/59902.html
標籤:Android
上一篇:新人問題
