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 trial

Android Build a Self-Destructing Message Android App Capturing Photos and Videos Taking a Video Using an Intent

Harry James
Harry James
14,780 Points

For 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
Harry James
14,780 Points

It turns out Code Challenges are down right now :'(

I'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
Harry James
14,780 Points

Hey 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.

Harry James
Harry James
14,780 Points

If 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)

Intent videoIntent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE); videoIntent.putExtra(MediaStore.EXTRA_OUTPUT,uri);

Intent videoIntent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE);
videoIntent.putExtra(MediaStore.EXTRA_OUTPUT,uri);
Harry James
Harry James
14,780 Points

Hey George!

Are you having a problem with this code? It is correct and should be passing the challenge.

harry was helping

Harry James
Harry James
14,780 Points

Great 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!