public class FileView extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
   //     setContentView(R.layout.main);         
       
         try{
               
          FileInputStream fis = new FileInputStream("input.txt");
          DataInputStream dis = new DataInputStream(fis);
                    
             TextView tv = new TextView(this);
            
          String s;
          while ((s=dis.readLine()) != null){
                  tv.setText(s);
                  setContentView(tv);             
                       }
         } catch (IOException e) { }
    }
}

이런 식으로 하면 안되나요??

화면에 출력되는게 아무것도 없네요...ㅠㅠ