Sunday, February 9, 2014

The method screenshot (int, int) is undefined for the type Surface


            
Download screenshot code, the following line of code error:
. mScreenBitmap = Surface screenshot ((int) dims [0], (int) dims [1]);
Tip:
The method screenshot (int, int) is undefined for the type Surface

There
import android.hardware.CameraSound;
import android.os.ServiceManager;
import android.os.SystemProperties;
This statement is also wrong three lines, suggesting
The import android.hardware.CameraSound cannot be resolved

This is what causes it? API version is different because of it?
Reply:
Ask you to solve this problem yet?

No comments:

Post a Comment