# Android VR Cardboard

**URL:** https://discourse.processing.org/t/android-vr-cardboard/11098
**Category:** Processing for Android
**Created:** [May 10, 2019, 9:08am UTC](https://discourse.processing.org/t/android-vr-cardboard/11098 "2019-05-10T09:08:53Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![JohnM](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@JohnM](https://discourse.processing.org/u/JohnM)
#### Post date: [May 10, 2019, 9:08am UTC](https://discourse.processing.org/t/android-vr-cardboard/11098/1 "2019-05-10T09:08:53Z")

</div>

Hello, I need some help. I want to display the picture (so she was always before my eyes, even when rotated). When using the background(img) function, I just have error: `handleDraw() called before finishing`

**My code:**

```auto
import processing.vr.*;

PImage img;

void setup() {
  fullScreen(STEREO);
  img = loadImage("starwars.png");
}

void draw() {
  background(img);
}

```

**The example I need:**

 ![Screenshot_2019-05-10-17-57-33](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/d/d36c233997e652671630570e4f1617d12bdedf20.jpeg)

---

<div class="post-metadata">

### Author: ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)
#### Post date: [May 20, 2019, 6:55am UTC](https://discourse.processing.org/t/android-vr-cardboard/11098/2 "2019-05-20T06:55:59Z")

</div>

> [@JohnM](#):
>
> even when rotated

Not sure if you need to have you phone in landscape mode. Not sure how you could use VR in portrait.

Did you check [this tutorial](https://android.processing.org/tutorials/vr_intro/index.html) in the Processing Android site?

Kf
