public class viewresult extends Activity {
 private Context mContext = null;
 private final int imgWidth = 320;
 private final int imgHeight = 372;
 EditText carNameEdit;
 TextView text;
//    EditText selectTagEdit;
    EditText fileIdEdit;
    String imgPath;
 @Override
 protected void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
  setContentView(R.layout.viewresult);
  mContext = this;
  text = (TextView) findViewById(R.id.text);
     carNameEdit = (EditText) findViewById(R.id.carname);

  /** 전송메시지 */
  Intent i = getIntent();
  Bundle extras = i.getExtras();
  
  /** 완성된 이미지 보여주기  */
  BitmapFactory.Options bfo = new BitmapFactory.Options();
  bfo.inSampleSize = 2;
  ImageView iv = (ImageView)findViewById(R.id.imageView);
  Bitmap bm = BitmapFactory.decodeFile(imgPath, bfo);
  Bitmap resized = Bitmap.createScaledBitmap(bm, imgWidth, imgHeight, true);
  iv.setImageBitmap(resized);
  System.out.println(imgPath);

  /** 리스트로 가기 버튼 */
 }
}
이게 소스부분이구요

다른 클래스에서 인텐트로 이 화면으로 넘어오는 코드인데 뭔가 잘못되었나봐요..

  Intent i = new Intent(mContext, viewresult.class);
      i.putExtra("filename", uu);
     startActivityForResult(i, 1);

이게 호출부입니다..

 

 

 

 

 

 

error.jpg

이런 오류가 납니다. 뭐가 문제인가요??