Fixed android samples; fixed cmake files

This commit is contained in:
Andrey Kamaev
2011-07-22 13:34:25 +00:00
parent cb9dd71f82
commit ebf9916242
8 changed files with 19 additions and 112 deletions

View File

@@ -7,7 +7,7 @@ import java.io.InputStream;
import java.util.LinkedList;
import java.util.List;
import org.opencv.android;
import org.opencv.Android;
import org.opencv.core.Core;
import org.opencv.core.Mat;
import org.opencv.core.Rect;
@@ -91,7 +91,7 @@ class FdView extends SampleCvViewBase {
Bitmap bmp = Bitmap.createBitmap(mRgba.cols(), mRgba.rows(), Bitmap.Config.ARGB_8888);
if (android.MatToBitmap(mRgba, bmp))
if (Android.MatToBitmap(mRgba, bmp))
return bmp;
bmp.recycle();
@@ -113,4 +113,4 @@ class FdView extends SampleCvViewBase {
mGray = null;
}
}
}
}