- 博客(5)
- 收藏
- 关注
原创 人脸录取失败 log 排查
人脸录取失败,打出如下的log。03-02 20:34:02.855 15426 15426 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***03-02 20:34:02.855 15426 15426 F DEBUG : Build fingerprint: 'xxx/a02qnnser/a02q:11/RP1A.200720.012/A025FXXE2BUC1:eng/test-keys'0..
2021-03-08 14:37:07
362
原创 自定义Dialog
自定义DialogAlertDialog.Builder builders = new AlertDialog.Builder(xxxxActivity.this); AlertDialog dialog = builders.create();View dialogView = View.inflate(xxxActivity.this, R.layout.ooooo, null);dialog.setView(dialogView);dialog.show();etPayPwd =.
2021-01-28 20:18:11
126
原创 获取Preference中的控件
在工作中遇到了一个问题,需要自定义一个Preference,同时需要获取layout中控件。给大家分享一下。具体代码如下: 1,首先写自己的layout。<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="50dp“ > ...
2020-12-18 20:06:02
572
1
原创 Android native crash
Android native crash字面意思:native程序发生crash,包括app jni里面代码报错,native层代码报错。1.NE log介绍// CRASH: com.qualcomm.qti.cam2test (pid 11262)// Short Msg: Native crash// Long Msg: Native crash: Segmentation fault// Build Label: qcom/zql1695_32/zql1695_32:11/R
2020-12-02 14:14:28
1253
原创 Android studio中获取到的 VersionName 一直是1.0 VersionCode 一直是1 的问题
private String getVersionName(){ //包管理者获取清单文件(版本号,版本名称) PackageManager packageManager = getPackageManager(); //this.getPackageName()当前应用的包名 ,,,0:获取一些基础信息 //com.example.su.a360=getpack...
2018-04-27 17:39:03
788
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅