First step for JNI in ScreenshotService