Hi,

See http://developer.android.com/reference/android/os/Environment.html it 
has methods to retrieve default paths of where photo, video files etc are 
stored.

The file naming convention should be easy enough to mimic, usually being 
based on date time stamps.

Regards

On Sunday, December 20, 2015 at 4:58:02 AM UTC+11, David Karr wrote:
>
> Because I can't bring up the stock camera app with just a video 
> record/stop button (I'm using a remote bluetooth button to start/stop 
> recording), I've written a custom app that just displays the camera preview 
> and a video record/stop button.
>
> Despite the fact that this is a custom app, as much as possible I'd like 
> to store the videos as if they were taken with the stock app.  This at 
> least means storing them in the same place, with a consistent naming and 
> metadata scheme.  I might consider having custom preferences in the app, 
> but for now I'd just like to retrieve properties that will tell me where 
> the stock camera app will store videos, along with any other configuration 
> that should describe how I store the videos.
>
> How can I get this information within my custom app?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/1ca972b3-bcaa-40f9-9ac0-603f5d3a9a4c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to