@Override protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCreate(savedInstanceState); this.setContentView(R.layout.abinarytest); Initliazation(); String path = SystemUtils.ConvetThumbnailPathToImage(GlobleParam.Create().getCurrentImagePath()); centerF = GlobleParam.Create().getPoints().get(0); bitmapHelper_CV = new BitmapHelper_CV(path); CreateBinaryImage(binaryvalue); }
/** * 构造函数 * * @param ImageThumbPath 缩率图所在的路径数组 * @param imageNames 用于显示缩略图的名称数组 * @param context 上下文环境 */ public PhotoThumbAdapter(String[] ImageThumbPath, String[] imageNames, Context context) { this.imageNames = imageNames; this.ImageThumbPath = ImageThumbPath; this.context = context; windowssize = SystemUtils.getWindowSize(context); }