levibostian / levibostian/Shutter-Android

Add ability to specify the directory that photos/videos are stored after being taken.

Open
#9 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
58
Forks
6
PR merge metrics
No merged PRs in 30d

Description

See issue https://github.com/levibostian/Shutter-Android/issues/8#issuecomment-376740206 for the discussion behind this feature.

In the builder to take a photo or record a video, add the ability to specify the name of a directory for the photos/videos.

Should be pretty easy. Here is the code where the directory is hard coded currently. Here is where we give the user the ability to specify the filename so we can use that same idea to give the user the ability to specify a directory.

Tasklist:

  • Give user ability to specify the directory for taking a photo and recording a video.
  • Update readme docs showing that you can now specify a directory to save photos/videos. Also, update the readme docs about the manifest permissions where you can use "Pictures" by default, but you can also specify more for custom directories.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in lib/src/main/java/com/levibostian/shutter_android/builder/ShutterTakePhotoBuilder.kt at the hard-coded directory and filename configuration points. Trace the corresponding photo and video builders, then update the README sections for save directories and manifest permissions. Done means both capture paths accept a directory and the README documents custom directories and required permissions.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.