
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
bash: /usr/bin/locale: Permission deniedAdministrator@PC-20170531NDJV MINGW64 /f$ mkdir YuanxinClanmkdir: cannot create directory 'YuanxinClan': File existsAdministrator@PC-20170531NDJ
创建Handlerprivate Handler handler = new Handler() {@Overridepublic void handleMessage(Message msg) {switch(msg.what){case 1 :String str1 = msg.getData().getStri...
实现效果基于百度智能云实现的图片识别实现步骤1、到百度智能云注册图像识别应用https://console.bce.baidu.com/ai/?_=1574674029784&fromai=1#/ai/imagerecognition/overview/index2、配置ID与key3、实现demo:https://downl...
1、最方便的方法,使用dlc的module连接mqtt步骤、1——导入dlc依赖和module//dlc_mqttmoduleimplementation project(':garbagerecyclebox')//dlc公库implementation('com.github.DlcAndroidTeam123456:DlcCommonLibrary:1.0.31-simple') {excl
字符串转 byte[]——含中文/*** 字符串转byte数组* @param str* @return*/public static byte[] strTobytes(String str){byte[] b=null,data=null;try{b = str.getBytes("utf-8");//data = new String(b,"utf-8").getBytes("gbk");d
效果:圆角,圆形,椭圆形实现方法:工具方法/*** 设置BitmapShader*/private void setBitmapShader() {Drawable drawable = getDrawable();if (null == drawable) {return;}Bitmap bitmap =...

1、添加位置权限<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"></uses-permission><uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"></u...

Android studio 在打包时报错如下:Lint found fatal errors while assembling a release target.To proceed, either fix the issues identified by lint, or modify your build script as follows:...android { li...
前言自定义View原理是Android开发者必须了解的基础;在了解自定义View之前,你需要有一定的知识储备;本文将全面解析关于自定义View中的所有知识基础。目录1. View的分类视图View主要分为两类:类别解释特点单一视图即一个View,如TextView不包含子View视图组即多个View组成的ViewGr...

activity 或 fragment 实现接口 View.OnTouchListener如:public class MyFragment extends Fragment implements View.OnTouchListener{重写实现方法@Overridepublic boolean onTouch(View v, MotionEvent...







