- 还带运动估计: 打不开后置摄像头 https://github.com/tianyalu/NeOpenGLBeautyFace https://github.com/zerochl/MagicShow opencv 美颜 贴纸 大眼睛 有摄像头: https://github.com/xingfengwxx/BeautyF... 还带运动估计: 打不开后置摄像头 https://github.com/tianyalu/NeOpenGLBeautyFace https://github.com/zerochl/MagicShow opencv 美颜 贴纸 大眼睛 有摄像头: https://github.com/xingfengwxx/BeautyF...
- implementation 'com.zxy.android:recovery: implementation 'com.zxy.android:recovery:1.0.0' or debugImplementation 'com.zxy.android:recovery:1.0.0' releaseImplem... implementation 'com.zxy.android:recovery: implementation 'com.zxy.android:recovery:1.0.0' or debugImplementation 'com.zxy.android:recovery:1.0.0' releaseImplem...
- 1.改 classpath 'com.android.tools.build:gradle:3.1.0' 这样能把dat放到raw中 2.改权限: 正确: params.type = WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY; &n... 1.改 classpath 'com.android.tools.build:gradle:3.1.0' 这样能把dat放到raw中 2.改权限: 正确: params.type = WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY; &n...
- android camera2 获取摄像头支持的分辨率 41的for循环我注释了,代码是获取最匹配的分辨率。 private Size getMatchingSize2(){ Size selectSize = null; try { CameraManager mCameraManager = (CameraManager) getSystemS... android camera2 获取摄像头支持的分辨率 41的for循环我注释了,代码是获取最匹配的分辨率。 private Size getMatchingSize2(){ Size selectSize = null; try { CameraManager mCameraManager = (CameraManager) getSystemS...
- 临时解决方法,需要下载gradle,下载后放在目录: 随机变量的目录下面: C:\Users\Administrator\.gradle\wrapper\dists\gradle-6.1.1-all\cfmwm155h49vnt3hynmlrsdst\gradle-6.1.1 把项目删了,重新解压,加载项目。 临时解决方法,需要下载gradle,下载后放在目录: 随机变量的目录下面: C:\Users\Administrator\.gradle\wrapper\dists\gradle-6.1.1-all\cfmwm155h49vnt3hynmlrsdst\gradle-6.1.1 把项目删了,重新解压,加载项目。
- demo合集: https://github.com/dalong982242260/AndroidRuler 1、直尺(测量距离) github:https://github.com/1149863953/ruler 问题:不能适配各种手机,有的不准 2、圆尺(测量角度) github:https://github.com/1149863953/rul... demo合集: https://github.com/dalong982242260/AndroidRuler 1、直尺(测量距离) github:https://github.com/1149863953/ruler 问题:不能适配各种手机,有的不准 2、圆尺(测量角度) github:https://github.com/1149863953/rul...
- 定义变量: gradle.properties COMPILE_SDK_VERSION=25 BUILD_TOOLS_VERSION=25.0.0 TARGET_SDK_VERSION=23 MIN_SDK_VERSION=8 使用变量: build.gradle中 apply plugin: 'com.android.app... 定义变量: gradle.properties COMPILE_SDK_VERSION=25 BUILD_TOOLS_VERSION=25.0.0 TARGET_SDK_VERSION=23 MIN_SDK_VERSION=8 使用变量: build.gradle中 apply plugin: 'com.android.app...
- GLES20.glLineWidth( 3f ); private void drawCircle( float r, float g, float b, float a ) { for( int i = 0; i < circleBuffersesList.size(); ++i ) { //頂点バッファの指定 GLES20.glVer... GLES20.glLineWidth( 3f ); private void drawCircle( float r, float g, float b, float a ) { for( int i = 0; i < circleBuffersesList.size(); ++i ) { //頂点バッファの指定 GLES20.glVer...
- 原文: Android学习笔记——NDK中C++标准库、STL的配置;Include其他头文件 1、STL的使用,以stlport为例 官方的说法是只需要在Application.mk文件中添加如下一行即可 Application.mk代码 APP_STL := stlport_static&... 原文: Android学习笔记——NDK中C++标准库、STL的配置;Include其他头文件 1、STL的使用,以stlport为例 官方的说法是只需要在Application.mk文件中添加如下一行即可 Application.mk代码 APP_STL := stlport_static&...
- adb tcpip 5555 adb下载地址: http://download.clockworkmod.com/test/UniversalAdbDriverSetup.msi 3.在设备中下载超级终端(是andriod软件),设置端口: su setprop service.adb.tcp.... adb tcpip 5555 adb下载地址: http://download.clockworkmod.com/test/UniversalAdbDriverSetup.msi 3.在设备中下载超级终端(是andriod软件),设置端口: su setprop service.adb.tcp....
- Log.e注意问题: "find bar"字符串中间有空格,所有搜索不到,但是用下划线连接起来,过滤日志时就能搜到。 Log.e("find bar",points[0].toString()); package com.lbstock; import java.io.File; import java.io.FileNotFoundEx... Log.e注意问题: "find bar"字符串中间有空格,所有搜索不到,但是用下划线连接起来,过滤日志时就能搜到。 Log.e("find bar",points[0].toString()); package com.lbstock; import java.io.File; import java.io.FileNotFoundEx...
- https://github.com/JunkCode/android-oculus_test 这个有pc版的demo: https://github.com/jherico/OculusSDK https://github.com/jherico/OculusAndroid 这个是游戏,不是摄像头 https://github.com... https://github.com/JunkCode/android-oculus_test 这个有pc版的demo: https://github.com/jherico/OculusSDK https://github.com/jherico/OculusAndroid 这个是游戏,不是摄像头 https://github.com...
- EditText 的高度需要比button高10个dp, 代码如下,才能正常显示 <EditText android:id="@+id/eTxtContent" android:layout_toRightOf="@id/iv_biji" android:layout_marginLeft="10dp" android:layout_width="150dp" ... EditText 的高度需要比button高10个dp, 代码如下,才能正常显示 <EditText android:id="@+id/eTxtContent" android:layout_toRightOf="@id/iv_biji" android:layout_marginLeft="10dp" android:layout_width="150dp" ...
- 做个总结: 我们在用android:drawableLeft="@drawable/logo"设置按钮左边的图标后,有时需要调整左边图标离按钮左边界的距离,并且需要调整左边图标离右边文本的距离。 用android:gravity="center_vertical|center_horizontal|left"设置按钮文本左对齐。 用android:padd... 做个总结: 我们在用android:drawableLeft="@drawable/logo"设置按钮左边的图标后,有时需要调整左边图标离按钮左边界的距离,并且需要调整左边图标离右边文本的距离。 用android:gravity="center_vertical|center_horizontal|left"设置按钮文本左对齐。 用android:padd...
- 先上波大餐:解决方案就是跟换手机主题!!!! 尝试网上的很多解决方案: 手动卸载了重编译安装,不行。 重启手机之后安装,不行。 将bin目录下的文件删除掉重新编译安装,程序报错,感觉不靠谱的解决方案。 分析: 最后猜测现今的智能手机(本人用的智能机:vivo Y55A)有缓存图标的功能,切换主题之后得到了解决。因为手机不同主题同个应用使用的... 先上波大餐:解决方案就是跟换手机主题!!!! 尝试网上的很多解决方案: 手动卸载了重编译安装,不行。 重启手机之后安装,不行。 将bin目录下的文件删除掉重新编译安装,程序报错,感觉不靠谱的解决方案。 分析: 最后猜测现今的智能手机(本人用的智能机:vivo Y55A)有缓存图标的功能,切换主题之后得到了解决。因为手机不同主题同个应用使用的...
上滑加载中
推荐直播
-
华为云码道 × 仓颉编程:工程化AI编码探索2026/05/27 周三 19:00-21:00
刘俊杰-华为云仓颉语言专家/李炎-华为云码道技术专家/王智鹏-OpenCangjie开源社区发起人
本场直播围绕华为云仓颉语言与华为云码道的深度结合,展示华为云智能编程从零基础到高效落地的完整生态能力。以华为云码道为引擎,仓颉语言为载体,带给大家日常提效、趣味创新到极速量产的开发体验。
回顾中
热门标签