Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMichael Ambass
3,829 PointsDifferent file format depending on the quality
Hi,
This isn't a question, I wanted to share my experience with this part of the tutorial, I encountered the following issue when storing the video on the device:
The application was tested on two physical devices (Samsung Galaxy S3 and HTC One) and the Emulator running Android 4.4.2.
The Samsung runs on Android 4.3 and the HTC Android 4.4.3.
When the Video Recorder Intent is invoked, the application isn't able to find the created file (in .mp4 format), I noticed that on the HTC the video is stored in "DCIM/100MEDIA" and most particularly with the .3gp extension.
So I came to these conclusions:
- when the video quality set to "1", the file is correctly stored in .mp4 format and in the right folder
- when set to "0", the file is stored in .3gp format in a folder choosed by Android
So, if you have the same problem as me, do not forget to check in which format you define the File Uri.
Patrick Allwood
7,463 PointsPatrick Allwood
7,463 PointsThank you Michael you are brillant :)