代码改变世界

随笔档案-2012年09月

android上画方框

2012-09-17 10:08 by omgee, 1829 阅读, 收藏, 编辑
摘要: 来自zxing开源码 public Rect getFramingRect() { if (framingRect == null) { if (camera == null) { return null; } Point screenResolution = configManager.getScreenResolution(); int width = screenResolution.x * 3 / 4; /* if (width < MIN_FRAME_WIDTH) { width = MIN_FRAME... 阅读全文
点击右上角即可分享
微信分享提示