private void checkSoftStage() {
if (Environment.getExternalStorageState().equals(
Environment.MEDIA_MOUNTED)) {
Intent openCameraIntent = new Intent(
MediaStore.ACTION_IMAGE_CAPTURE);
File file = new File(getExternalCacheDir(),
WebViewUtil.DEFAULT_PIC_NAME);
openCameraIntent.putExtra(MediaStore.EXTRA_OUTPUT,
Uri.fromFile(file));
startActivityForResult(openCameraIntent, TAKE_PICTURE);
ClickedPro = true;
} else {
AlertDialog.Builder builder = new Builder(MeActivity.this);
builder.setIcon(R.drawable.icon);
builder.setTitle(R.string.app_name);
builder.setMessage(R.string.nosdcard);
builder.setNegativeButton(R.string.common_ok,
new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
}
}).show();
}
}