# vtk on android 2d mode

**URL:** https://discourse.vtk.org/t/vtk-on-android-2d-mode/7575
**Category:** Development
**Created:** [January 6, 2022, 8:01am UTC](https://discourse.vtk.org/t/vtk-on-android-2d-mode/7575 "2022-01-06T08:01:45Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Albert\_Negron](https://discourse.vtk.org/user_avatar/discourse.vtk.org/albert_negron/32/4508_2.png) [@Albert\_Negron](https://discourse.vtk.org/u/Albert_Negron)
#### Post date: [January 6, 2022, 8:01am UTC](https://discourse.vtk.org/t/vtk-on-android-2d-mode/7575/1 "2022-01-06T08:01:45Z")

</div>

I am using vtk on android, and setInteractorStyle to vtkInteractorStyleImage, why the interactor not responding to the motion event, I need to disable camera rotation and keep the camera translation on x-y plane, is there a way to do this?

---

<div class="post-metadata">

### Author: ![user\_1](https://discourse.vtk.org/user_avatar/discourse.vtk.org/user_1/32/7409_2.png) [@user\_1](https://discourse.vtk.org/u/user_1)
#### Post date: [January 20, 2022, 10:36am UTC](https://discourse.vtk.org/t/vtk-on-android-2d-mode/7575/2 "2022-01-20T10:36:05Z")

</div>

Hi,can you use vtk on android to render things? I compiled some version and import into Android studio,it’s not rendering but only rendering black screen.Do you know what happen?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)
#### Post date: [January 20, 2022, 10:36am UTC](https://discourse.vtk.org/t/vtk-on-android-2d-mode/7575/3 "2022-01-20T10:36:50Z")

</div>

use vtk master
