Used below code to open file

```
Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT);
                        intent.addCategory(Intent.CATEGORY_OPENABLE);
                        intent.setType("image/*");
                        startActivityForResult(intent, READ_REQUEST_CODE);

```

Used below code to read file

```
ParcelFileDescriptor parcelFileDescriptor =AttachImageOnPost.this.getContentResolver()
    .openFileDescriptor(data.getData(), "r");

FileDescriptor fileDescriptor = parcelFileDescriptor.getFileDescriptor();
Rect rect=new Rect(100, 100, 100, 100);
image.setImageBitmap(BitmapFactory.decodeFileDescriptor(fileDescriptor, rect));

```

is there any way i can upload file using `HttpClient`