0

I understand that there are apps that make renaming easy but would it be possible to specify the photo name actually before taking the photo? If so would this also work with an app that allows the user to take multiple photo's before returning to the app, rather than the one photo most apps allow. Sorry for the newb question!

2

Yes. The app that starts the intent (i.e. the app with the "take photo" button) is responsible for choosing a file name and creating the file. It then puts that file's URI (its path) in the intent. The camera app then opens that file, writes the photo to it, and gives a result back to the first app.

The upshot of this is that it's up to the calling app (the one with the "take photo" button) to give you a way to set the file name, if they want to do that. The file name will take effect whatever camera app you use.

The intent protocol doesn't provide a way for the calling app to ask for more than one photo, so there's no way for an app to offer this feature without launching the camera app several times in succession.

If you're interested in the details, the official Android developer documentation describes it, with code examples.

1

You could try Preset camera I found this on Google Play and it claims:

Summary (I've left in the spelling and punctuation mistakes as they appear on the Play Store):

You can preset the settings about picture. Frames,filters,the name of the folders,the name of files.

After you preset the settings,pictures you take will be reflected to the setting.

This application is very convenience when you take a picture in continuous, or take a picture of fixed location or object.

You have no stress to edit the pictures because your settings reflect to all the pictures you take automatically.


As I can't tell if you want to do this programatically (which is outside the remit of this site), here is the answer to it in code: Stack Overflow Android - Taking photos and saving them with a custom name to a custom destination via Intent

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.