Question: I want to get a `NSArray` with all the `UIImage` from a Live Photo to create a GIF of that. I tried to make screenshots while animating the live photo but it doesn't work.
Can anyone help me?
Thanks!

Answer: 
Replace

```
Intent imageEditorIntent = new AdobeImageIntent().Builder(this)
                                              ^^^^^

```

with:

```
Intent imageEditorIntent = new AdobeImageIntent.Builder(this)
                                             ^^^^^

```
Possible issues with the code above
===================================

Try removing the `cdsIntent` and see if your code runs. 

Without more information, it's hard to know, but it could be that both your `cdsIntent` and your `imageView` assignments are coming too late in `onCreate()`.

Taking a photo from your app
============================

You can create a new camera Intent and start it like this:

```
Intent cameraIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
if (cameraIntent.resolveActivity(getPackageManager()) != null) {
    startActivityForResult(cameraIntent, 400); // Can be any int
}

```

The results from the camera will come back to you in `onActivityResult()`.

Handling the results from the camera Intent
===========================================

How to handle the results will depend on what your app does. Google has a nice overview on the subject on the [Android Developer Portal](https://developer.android.com/training/camera/photobasics.html).

---

If you have further questions beyond the scope of this one, it may be good to make a new question to help get this one more focused.