我的安卓程序在运行时按下保存按钮时会报错。具体出错代码段如下:
protected void savePhotos() {
// TODO Auto-generated method stub
ContentValues values = new ContentValues();
     values.put(Media.MIME_TYPE, "image/jpeg");
     Uri uri =getContentResolver().insert(Media.EXTERNAL_CONTENT_URI, values);
     try{
     OutputStream outStream = getContentResolver().openOutputStream(uri);
     mBitmap.compress(Bitmap.CompressFormat.JPEG, 50, outStream);
     outStream.close();
     }catch(Exception e) {}
}调试时出现如下错误:
Class File Editor
Source not found
The source attachment does not contain the source for the file ContentResolver.class.
You can change the source attachment by clicking Change Attachment by clicking Change Attached Source below:Change Attached Source请问该如何解决,我试过网上很多种方法了,还是不行