Photographs and videos using the default camera app are saved on the SD card.
I really need to know if there is a way (easy or hard) to change the path so i can save those files on internal memory.
Or if you know another camera app from android market that has the option to change path.
I don’t need SD card solutions.
You can do something like,
This works in my case..
And getImageUri()
For more info look at How to capture an image and store it with the native Android Camera
EDIT:
In my code I store images on
SDCARDbut you can give Internal storage path as per your need, like,/data/data/<package_name>/files/..You can use
Context.getFilesDir(). But keep in mind that even that is by default private to your app, so other applications (including the media store) will not be able to access it. That said, you always have the option to make files world read or writeable.also
Context.getDir()withContext.MODE_WORLD_WRITEABLEto write a directory that other apps can write into. But again, I question the need to store image data in local storage. Users won’t appreciate that, unless users are expected to not have their SD card mounted while using your app (which is not common).