11 2016 档案
摘要:文件打开方式:采用rws,rwd方式,立即写入,不进行缓存 RandomAccessFile file = new RandomAccessFile(file ,"rwd"); file.setLength(size); file.close(); file.seek("start");//指定写入
阅读全文
摘要:资源 图片 - drawable
阅读全文
摘要:相机 相机打开 camera = Camera.open(); 获取相机参数 Camera.Parameters params = camera.getParameters(); 常用设置: 预览界面:preview-size-values=800,480支持范围内 每秒捕获次数:preview-f
阅读全文
摘要:private void doWithSurfaceView(){ SurfaceView surfaceView = (SurfaceView)this.findViewById(R.id.surfaceView); surfaceView.getHolder().setFixedSize(176
阅读全文
摘要:1.RelativeLayout 相对布局 常用设置:android:layout_width="match_parent" android:layout_height="match_parent" 控件相对位置 在某个控件左边:android:layout_toLeftOf="@id/camera
阅读全文
摘要:全屏:没有标题栏,没有状态栏 1.主题方式 2.编码方式 去除标题 requestWindowFeature(Window.FEATURE_NO_TITLE); 注意事项: requestFeature() must be called before adding content; AppCompa
阅读全文
摘要:列编辑 edit - column selections mode
阅读全文
摘要:lib 1.core-3.3.0.jar 2.zxing-android-core-3.3.0.jar
阅读全文

浙公网安备 33010602011771号