jhansireddy / AndroidScannerDemo

ScanLibrary is an android document scanning library built on top of OpenCV, using the app you will be able to select the exact edges and crop the document accordingly from the selected 4 edges and change the perspective transformation of the cropped image.
MIT License
1.07k stars 472 forks source link

Change directory of images #126

Closed HamzaArifS closed 3 years ago

HamzaArifS commented 4 years ago

Please tell me how to change the directory of the image. I want to make new directory in gallery and save pictures there

vamsee9 commented 4 years ago

I think it's in scanlibrary -> res -> XML in this some thing file name like provider_. .xml

HamzaArifS commented 4 years ago

i tried to change path but when i changed it app crashes

vamsee9 commented 4 years ago

Yeah same here but you need to do some changes in scanconstants.java and some other files in scanlibrary Java files need to figure out which files save scanned image bitmaps for me it's saving in pictures

HamzaArifS commented 4 years ago

Will you plz specify the code

vamsee9 commented 4 years ago

I too don't know I am checking out

HamzaArifS commented 4 years ago

okay sir. If u get it plz update me too

vamsee9 commented 4 years ago

Sure you too work on it we will find them you can contact me at direct message at t.me/vamsee9

HamzaArifS commented 4 years ago

done sir

wazimBadsha commented 4 years ago

@HamzaArifS @vamsee9 guys, did you got solution?

vamsee9 commented 4 years ago

No actual I am on it but didn't find any solution

HamzaArifS commented 4 years ago

No, I couldn't find too

vamsee9 commented 4 years ago

got solution public final static String IMAGE_PATH = getActivity().getExternalFilesDir(null).getAbsolutePath() + "/scannedimage"

vamsee9 commented 4 years ago

Is this useful ?

HamzaArifS commented 4 years ago

Maybe someone would help

vamsee9 commented 4 years ago

I changed some have files

HamzaArifS commented 4 years ago

did something useful happen?

vamsee9 commented 4 years ago

Yes I am testing it and will ping tomorrow

HamzaArifS commented 4 years ago

That's a really good news. I will wait

HamzaArifS commented 4 years ago

did the solution work? @vamsee9