2014-01-08 43 views

回答

0
  1. getCameraInstance()不會被調用

  2. myTextView爲空

  3. myTextView未添加任何佈局

0
  1. 你永遠不會調用的功能getCameraInstance() ;
  2. LinearLayout lView = new LinearLayout(this); TextView myText = new TextView(this);

你應該更改爲:

的LinearLayout LVIEW =新的LinearLayout(R.id.your_layoutID); TextView myText = new TextView(R.id.your_textviewID);