Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Harry James
14,780 PointsFor the videoIntent variable, put the uri variable as an extra using the key CodeChallenge.
Hello,
I can't figure out what I'm doing wrong on this question. Here is the code I'm using:
videoIntent.putExtra(MediaStore.EXTRA_OUTPUT, uri);
I get an error about permissions when doing this :s
5 Answers

Harry James
14,780 PointsIt turns out Code Challenges are down right now :'(

Harry James
14,780 PointsIf you get a permission denied error in the Preview then, the Code Challenges are down. Note that this is not the only indication that they're down. For example, the site could be down (Error 505, I assume)

MUZ140983 George Muranganwa
4,939 PointsIntent videoIntent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE); videoIntent.putExtra(MediaStore.EXTRA_OUTPUT,uri);

MUZ140983 George Muranganwa
4,939 PointsIntent videoIntent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE);
videoIntent.putExtra(MediaStore.EXTRA_OUTPUT,uri);

Harry James
14,780 PointsHey George!
Are you having a problem with this code? It is correct and should be passing the challenge.

MUZ140983 George Muranganwa
4,939 Pointsharry was helping

Harry James
14,780 PointsGreat to hear that you're trying to help :)
Please can I kindly ask though that you don't just post the answer to Code Challenges without explanation - it doesn't assist with the learning of other students.
Typically, it helps just to post a hint to the student but if needed - provide the full answer and make sure to explain it.
Sorry if this sounds strict - I don't mean it to come out that way!
Ginger Ranslam
8,144 PointsGinger Ranslam
8,144 PointsI'm having the same problem. How do I find out if the code challenges are not working? Is there a place where this news is posted? I don't want to go crazy thinking I'm doing something wrong if it's not me for once. :)
Harry James
14,780 PointsHarry James
14,780 PointsHey Ginger Ranslam! I must have missed your message a while back but for any other users who want to check the status, they can do so at status.teamtreehouse.com.