```
public class EditUploads extends Activity implements OnClickListener {

    ImageView ivEditUploads, imgSave;
    EditText etxtPrice, etxtDescription;
    Spinner sCategories;

    PhotoDbAdapter ourHelper;
    Long pRowId = null;

    private String description, category, price, imagepath;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        this.requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.activity_edit_uploads);

        findViewById();

        if (getIntent().hasExtra("byteArray")) {

            Bitmap b = BitmapFactory.decodeByteArray(getIntent()
                    .getByteArrayExtra("byteArray"), 0, getIntent()
                    .getByteArrayExtra("byteArray").length);
            ivEditUploads.setImageBitmap(b);

        }

        addItemsOnSCategories();
        addListenerOnSpinnerItemSelection();

        String _path = Environment.getExternalStorageDirectory() + "/Myfolder/"
                + System.currentTimeMillis() + ".jpg";
    }

    private void findViewById() {
        ivEditUploads = (ImageView) findViewById(R.id.ivEditUploads);
        imgSave = (ImageView) findViewById(R.id.imgSave);
        sCategories = (Spinner) findViewById(R.id.sCategories);
        etxtDescription = (EditText) findViewById(R.id.etxtDescription);
        etxtPrice = (EditText) findViewById(R.id.etxtPrice);

        imgSave.setOnClickListener(this);
    }

    public void addItemsOnSCategories() {

        sCategories = (Spinner) findViewById(R.id.sCategories);
        List<String> list = new ArrayList<String>();
        list.add("His");
        list.add("Hers");
        list.add("Kid's");
        list.add("Everything Else");

        ArrayAdapter<String> dataAdapter = new ArrayAdapter<String>(this,
                android.R.layout.simple_spinner_item, list);
        dataAdapter
                .setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
        sCategories.setAdapter(dataAdapter);
    }

    public void addListenerOnSpinnerItemSelection() {
        sCategories
                .setOnItemSelectedListener(new CustomOnItemSelectedListener());

    }

    @Override
    public void onClick(View v) {

        Bitmap sourceBitmap = ((BitmapDrawable) ivEditUploads.getDrawable())
                .getBitmap();

        String root = Environment.getExternalStorageDirectory().toString();
        File myDir = new File(root + "/Neatpicks");
        myDir.mkdirs();

        sendBroadcast(new Intent(
                Intent.ACTION_MEDIA_MOUNTED,
                Uri.parse("file://" + Environment.getExternalStorageDirectory())));

        Random generator = new Random();
        int n = 10000;
        n = generator.nextInt(n);
        String fname = "Image-" + n + ".jpg";
        File file = new File(myDir, fname);

        ContentValues values = new ContentValues();
        values.put(MediaStore.Images.Media.TITLE, fname);
        Uri mCapturedImageURI = getContentResolver().insert(
                MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values);
        String[] projection = { MediaStore.Images.Media.DATA };
        Cursor cursor = managedQuery(mCapturedImageURI, projection, null, null,
                null);
        int column_index_data = cursor
                .getColumnIndexOrThrow(MediaStore.Images.Media.DATA);
        cursor.moveToFirst();
        String capturedImageFilePath = cursor.getString(column_index_data);

        File mediaStorageDir = new File(Environment
                .getExternalStorageDirectory().getPath(), "Neatpicks");
        if (!mediaStorageDir.exists()) {
            if (!mediaStorageDir.mkdirs()) {
                Log.d("Neatpicks", "failed to create directory");
                return;
            }
        }

        description = etxtDescription.getText().toString();
        category = sCategories.getOnItemSelectedListener().toString();
        price = etxtPrice.getText().toString();
        imagepath = capturedImageFilePath;

        PhotoDbAdapter saveUploads = new PhotoDbAdapter(EditUploads.this);
        saveUploads.open();

        if (pRowId == null) {

            long saveUpId = saveUploads.createEntry(description, category,
                    price, imagepath);
            saveUploads.close();

            if (saveUpId > 0) {
                pRowId = saveUpId;

                Intent uploads = new Intent(getApplicationContext(),
                        Mobile.class);

                startActivity(uploads);

            }

        }
    }

}

```

i had tried to use the mkdir methods however, i was still not able to see the images in a newly created folder...i am hoping someone would help point out my mistakes and guide me along cause i am fairly new to android programming. Thanks in advance!