I want to get imageview realPath and write textview.. I can get RealPath in library but ı cant in camera
Here is My Code
This Code Take Library İmage an Path
private void takeLibrary(int sdk, String uriPath,String realPath){
this.txtSDK.setText("Build.VERSION.SDK_INT: "+sdk);
this.txtUriPath.setText("URI Path: "+uriPath);
this.txtRealPath.setText(realPath);
Uri uriFromPath = Uri.fromFile(new File(realPath));
Bitmap bitmap = null;
try {
bitmap = BitmapFactory.decodeStream(getContentResolver().openInputStream(uriFromPath));
} catch (FileNotFoundException e) {
e.printStackTrace();
}
imageView.setImageBitmap(bitmap);
}
And This Camera
private void onCaptureImageResult(Intent data) {
// ????????????
}
?? what should I write Please help Thanks