MediaProjection code execute in 5.0 lower level device

kevin yiu

Member
Jan 30, 2013
5
0
0
Visit site
i have an app which automate flow based on Screen capture, which support 4.2~6.0
i was using root access to get the screen capture.
i understand that MediaProjection is only work on 5.0 or higher.
and i have experiment when i execute program in lower level of device, it crash with class not found exception.
MediaProjection seems to need to set up in the AndroidManifest.xml within the application
just wondering if anyone knows how to enable MediaProjection option when API is reached a certain level.
Many thx.