Log in or register to post comments

ImageTargets orientation

March 21, 2012 - 6:57am #1

Hello, in the imagetargets sample the ImageTarget Activity orientation is landscape
i was wondering how can i set it to be in portrait mode

Thanks

The answer:
int screenOrientation = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT;

Log in or register to post comments