<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[m0_70083038的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/m0_70083038</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; m0_70083038]]></copyright><item><title><![CDATA[Android 安卓 基本 布局]]></title><link>https://blog.csdn.net/m0_70083038/article/details/124643285</link><guid>https://blog.csdn.net/m0_70083038/article/details/124643285</guid><author>m0_70083038</author><pubDate>Sun, 08 May 2022 08:51:45 +0800</pubDate><description><![CDATA[水平布局宽为0，垂直布局高为0.
代码案例:
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;LinearLayout xmlns:android=“http://schemas.android.com/apk/res/android”
xmlns:app=“http://schemas.android.com/apk/res-auto”
xmlns:tools=“http://schemas.android.com/tools”
android:layou]]></description><category></category></item><item><title><![CDATA[Android 天气APP（六）旋转风车显示风力]]></title><link>https://blog.csdn.net/m0_70083038/article/details/124643266</link><guid>https://blog.csdn.net/m0_70083038/article/details/124643266</guid><author>m0_70083038</author><pubDate>Sun, 08 May 2022 08:49:44 +0800</pubDate><description><![CDATA[*/
private int mHei;
/**

控件颜色

*/
private int mColor;
private MsgHandler mHandler = new MsgHandler(this);
public WhiteWindmills(Context context) {
this(context, null);
}
public WhiteWindmills(Context context, @Nullable AttributeSet attrs) {
this(context, ]]></description><category></category></item><item><title><![CDATA[Android 图片获取显示照片拍摄时间]]></title><link>https://blog.csdn.net/m0_70083038/article/details/124643252</link><guid>https://blog.csdn.net/m0_70083038/article/details/124643252</guid><author>m0_70083038</author><pubDate>Sun, 08 May 2022 08:47:13 +0800</pubDate><description><![CDATA[//拍照
private void fromCarema(OnFilishedListener listener) {
if (hasSdcard()) {
String path = null;
if ( tempFile ==null || !tempFile.exists()) {
listener.onFilish(null);
return;
}
path = tempFile.getAbsolutePath();
if (TextUtils.isEmpty(path)) {
listener.o]]></description><category></category></item><item><title><![CDATA[android 制作]]></title><link>https://blog.csdn.net/m0_70083038/article/details/124643230</link><guid>https://blog.csdn.net/m0_70083038/article/details/124643230</guid><author>m0_70083038</author><pubDate>Sun, 08 May 2022 08:45:16 +0800</pubDate><description><![CDATA[《Android学习笔记总结+最新移动架构视频+大厂安卓面试真题+项目实战源码讲义》无偿开源	徽信搜索公众号【编程进阶路】
预览右侧的视图发现，图片的边缘处于普通拉伸状态。
现在我们在图片边缘点击左键，绘制出黑线，即图片需要被拉伸的部分。如下图，对4条黑线做了注释。

如果失误多绘的部分，可按住shift键的同时点击鼠标左键擦除)。
如图所见，三种拉伸结果均已完美显示，已实现我们想要的拉伸效果，假设这是一个有显示文字的窗体，那么文字显示的区域，程序也会控制在黑线对应范围。&nbsp;互联网的一些事

以下.]]></description><category></category></item><item><title><![CDATA[Android 保活措施]]></title><link>https://blog.csdn.net/m0_70083038/article/details/124643222</link><guid>https://blog.csdn.net/m0_70083038/article/details/124643222</guid><author>m0_70083038</author><pubDate>Sun, 08 May 2022 08:43:46 +0800</pubDate><description><![CDATA[Android系统会尽可能的保持应用进程，但是当需要建立新的进程或者运行更重要的进程，便会回收优先级低一些的进程,这个就是lowmemorykiller的工作。而进程的优先级其实就是 /proc/pid/oom_adj
进程的优先级排序

前台进程（Foreground Process）
可见进程(Visible Process)
服务进程(Service Process)
后台进程(Background Process)
空进程(Empty Process)

前台进程

拥有 用户正在交互的 Activ]]></description><category></category></item><item><title><![CDATA[Android 代码优化：“这个需求很简单]]></title><link>https://blog.csdn.net/m0_70083038/article/details/124643207</link><guid>https://blog.csdn.net/m0_70083038/article/details/124643207</guid><author>m0_70083038</author><pubDate>Sun, 08 May 2022 08:42:07 +0800</pubDate><description><![CDATA[设计:
1.我们是否可以把每件要做的事情抽象成一个节点,每个节点只关心自己的任务是否完成,它并不知道它是第几个,也不知道它前面或者后面的是谁.
2.每个节点统一由一个流来管理,它作为全局统筹者,可以控制从任意节点开始、控制整个流的开启与结束等,每个节点的顺序由流来管理.
实现:
带着以上设计思路,我对代码做了一下重构,代码变成了这样:
public class AfterActivity extends AppCompatActivity {
private static final int REQUEST]]></description><category></category></item><item><title><![CDATA[Android Studio中统一管理版本号引用配置]]></title><link>https://blog.csdn.net/m0_70083038/article/details/124643192</link><guid>https://blog.csdn.net/m0_70083038/article/details/124643192</guid><author>m0_70083038</author><pubDate>Sun, 08 May 2022 08:40:27 +0800</pubDate><description><![CDATA[**2.**在根目录下的build.gradle文件中引入我们创建的配置文件

**3.**config.gradle中文件内容可以自己定义，如下示例：
ext {
// 用于编译的SDK版本
COMPILE_SDK_VERSION = 23
// 用于Gradle编译项目的工具版本
BUILD_TOOLS_VERSION = “24.0.2”
// 最低支持Android版本
MIN_SDK_VERSION = 14
// 目标版本
TARGET_SDK_VERSION = 23
// 设置是否使用混淆.]]></description><category></category></item><item><title><![CDATA[Android Studio 4]]></title><link>https://blog.csdn.net/m0_70083038/article/details/124643175</link><guid>https://blog.csdn.net/m0_70083038/article/details/124643175</guid><author>m0_70083038</author><pubDate>Sun, 08 May 2022 08:38:09 +0800</pubDate><description><![CDATA[有些文件不是公用的是可以不用上传的，还有一些是编译的文件也不用上传。
AS4.0以前，忽略文件是可以在settings-version control里面可视化操作的，但是升级AS4.0之后，这个设置没有了，但是我们可以在根目录的.gitignore文件里添加。
*.iml
.gradle
.idea
local.properties
.DS_Store
/build
*/build
/captures
.externalNativeBuild
.cxx
.idea、.gradle、*.iml、*/buil]]></description><category></category></item><item><title><![CDATA[android RoundedBitmapDrawable最简单方式实现圆角]]></title><link>https://blog.csdn.net/m0_70083038/article/details/124643167</link><guid>https://blog.csdn.net/m0_70083038/article/details/124643167</guid><author>m0_70083038</author><pubDate>Sun, 08 May 2022 08:36:32 +0800</pubDate><description><![CDATA[ImageView mm1 = (ImageView) findViewById(R.id.mm1);
ImageView mm2 = (ImageView) findViewById(R.id.mm2);
ImageView mm3 = (ImageView) findViewById(R.id.mm3);
RoundedBitmapDrawable roundedBitmapDrawable1 = RoundedBitmapDrawableFactory.create(getResources(), B]]></description><category></category></item><item><title><![CDATA[Android JetPack架构——结合记事本Demo一篇打通对Sqlite的增删改查结合常用jetpack架构应用]]></title><link>https://blog.csdn.net/m0_70083038/article/details/124643148</link><guid>https://blog.csdn.net/m0_70083038/article/details/124643148</guid><author>m0_70083038</author><pubDate>Sun, 08 May 2022 08:34:58 +0800</pubDate><description><![CDATA[static class DeleteAllAsyncTask extends AsyncTask&lt;Note, Void, Void&gt;{
private NoteDao noteDao;
DeleteAllAsyncTask(NoteDao noteDao) {
this.noteDao = noteDao;
}
@Override
protected Void doInBackground(Note… notes) {
noteDao.deleteAllNotes();
return null]]></description><category></category></item><item><title><![CDATA[Android 开发经验分享：挺重要的网络基础]]></title><link>https://blog.csdn.net/m0_70083038/article/details/124627870</link><guid>https://blog.csdn.net/m0_70083038/article/details/124627870</guid><author>m0_70083038</author><pubDate>Sat, 07 May 2022 11:47:36 +0800</pubDate><description><![CDATA[四、Cookie
上面说了Http协议是无状态的，而Cookie就是用来在本地缓存记住一些状态的，一个Cookie一般都包含domin(所属域)、path、Expires(过期时间)等几个属性。服务端可以通过在响应头里的set-cookies来将状态写入客户端的Cookie里。下次客户端发起请求时可以将Cookie带上。
Android开发中遇到的问题及解决：
说起Cookie，一般如果平常只是做App开发，比较不经常遇到，但是如果是涉及到WebView的需求，则有可能会遇到。
下面就说一下我在项目里遇到过]]></description><category></category></item><item><title><![CDATA[Android 常用工具类]]></title><link>https://blog.csdn.net/m0_70083038/article/details/124627834</link><guid>https://blog.csdn.net/m0_70083038/article/details/124627834</guid><author>m0_70083038</author><pubDate>Sat, 07 May 2022 11:45:56 +0800</pubDate><description><![CDATA[public Activity mActivity;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(getLayoutId() );
mActivity = this;
activityManagerUtil = ActivityManagerUtil.getInstance();
activityManagerUtil.pus]]></description><category></category></item><item><title><![CDATA[Android 原生项目集成 Flutter]]></title><link>https://blog.csdn.net/m0_70083038/article/details/124627790</link><guid>https://blog.csdn.net/m0_70083038/article/details/124627790</guid><author>m0_70083038</author><pubDate>Sat, 07 May 2022 11:44:16 +0800</pubDate><description><![CDATA[主题 [Flutter](()
了解一下如何在 Android 原生项目中集成 Flutter
[](()具体操作

[](()生成配置
在原生项目根目录执行命令
flutter create -t module --org {package_name} {module_name}
// 此处 module_name 的命令遵循 Android 子 module 的命名即可。不能有中划线。
// 比如,
flutter create -t module --org com.engineer.mini.flu]]></description><category></category></item><item><title><![CDATA[Android 修改EditView输入框的光标颜色、下划线颜色]]></title><link>https://blog.csdn.net/m0_70083038/article/details/124627746</link><guid>https://blog.csdn.net/m0_70083038/article/details/124627746</guid><author>m0_70083038</author><pubDate>Sat, 07 May 2022 11:42:36 +0800</pubDate><description><![CDATA[&lt;EditText
android:id=“@+id/ed_pwd”
android:textCursorDrawable=“@drawable/cursor_style”
android:textColor=“#000”
android:textSize=“@dimen/sp_24”
android:paddingLeft=“@dimen/dp_15”
android:layout_width=“wrap_content”
android:layout_height=“@dimen/dp_65”/&]]></description><category></category></item><item><title><![CDATA[Android——File数据存储]]></title><link>https://blog.csdn.net/m0_70083038/article/details/124607294</link><guid>https://blog.csdn.net/m0_70083038/article/details/124607294</guid><author>m0_70083038</author><pubDate>Fri, 06 May 2022 12:02:20 +0800</pubDate><description><![CDATA[&lt;Button
android:id=“@+id/button2”
android:layout_width=“match_parent”
android:layout_height=“wrap_content”
android:text=“读取” /&gt;
&lt;TextView
android:id=“@+id/text”
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”/&gt;

FileUti]]></description><category></category></item><item><title><![CDATA[Android10填坑适配指南，实际经验代码，拒绝翻译]]></title><link>https://blog.csdn.net/m0_70083038/article/details/124607257</link><guid>https://blog.csdn.net/m0_70083038/article/details/124607257</guid><author>m0_70083038</author><pubDate>Fri, 06 May 2022 12:00:08 +0800</pubDate><description><![CDATA[@Deprecated
public boolean clipPath(@NonNull Path path, @NonNull Region.Op op) {
checkValidClipOp(op);
return nClipPath(mNativeCanvasWrapper, path.readOnlyNI(), op.na 《Android学习笔记总结+最新移动架构视频+大厂安卓面试真题+项目实战源码讲义》无偿开源	徽信搜索公众号【编程进阶路】 tiveInt);
}
private static ]]></description><category></category></item><item><title><![CDATA[Android-第十三节02SharedPreferences详解]]></title><link>https://blog.csdn.net/m0_70083038/article/details/124607225</link><guid>https://blog.csdn.net/m0_70083038/article/details/124607225</guid><author>m0_70083038</author><pubDate>Fri, 06 May 2022 11:58:37 +0800</pubDate><description><![CDATA[，而且优势就是sp读写起来会比文件更加方便，所以像这种情况我们就可以用sp的形式来存储


[](()二、SharedPreferences的使用方法
=======================================================================================
因为sp是存储在data/data/包名目录下的，所以我们不需要动态申请权限
1.添加button并添加点击事件


核心代码
button.findViewById(R.id.bu.]]></description><category></category></item><item><title><![CDATA[Android-第三方开源框架：Bugly让热修复变得如此简单]]></title><link>https://blog.csdn.net/m0_70083038/article/details/124607186</link><guid>https://blog.csdn.net/m0_70083038/article/details/124607186</guid><author>m0_70083038</author><pubDate>Fri, 06 May 2022 11:56:17 +0800</pubDate><description><![CDATA[baseApkDir是基准包（也称基线包）的目录，在生产补丁时需要根据基准包在bakApk下具体文件夹名字修改，如：bakApk/xxxx，到时生成补丁包时要将baseApkDir的值改为xxxx。（xxxx是Tinker自动生成的，根据时间戳来命名）。
3、tinkerId

tinkerId是Bugly热修复方案最最重要的一个因素，一般取值为git版本号、versionName等等（我习惯用versionName），它会将补丁包与基准包产生对应关系，假设基准包的tinkerId为 base-1.0，则.]]></description><category></category></item><item><title><![CDATA[Android-Q-要来了，一个影响国内-90%-App-的适配项]]></title><link>https://blog.csdn.net/m0_70083038/article/details/124607150</link><guid>https://blog.csdn.net/m0_70083038/article/details/124607150</guid><author>m0_70083038</author><pubDate>Fri, 06 May 2022 11:54:17 +0800</pubDate><description><![CDATA[而国内的 App 里，在启动页里加塞点功能，好像是一种更为普遍的做法。
在 Material Design 的设计规范中，也明确定义了启动图的设计规范，其核心就是为了解决冷启动时，那个短暂的白屏不至于显得太突兀，设计的好了，还可以增加品牌的辨识度。
启动页面的设计，其重点在于，它仅仅在应用启动的瞬间显示，也就是说，启动页面不应该导致应用的启动变慢，强制显示一段时间广告，更是不应该的做法。
毕竟打开 App 是为了它的功能，更快把首屏展示给用户，体验就更好。
三. Q 的后台启动建议
在 Android Q ]]></description><category></category></item><item><title><![CDATA[Android--SoftReference缓存图片]]></title><link>https://blog.csdn.net/m0_70083038/article/details/124607115</link><guid>https://blog.csdn.net/m0_70083038/article/details/124607115</guid><author>m0_70083038</author><pubDate>Fri, 06 May 2022 11:52:44 +0800</pubDate><description><![CDATA[SoftReference缓存图片
=================
2012-4-13 09:04|&nbsp;发布者:&nbsp;[benben](()|&nbsp;查看: 2426|&nbsp;评论: 0
摘要: Java中的SoftReference即对象的软引用。如果一个对象具有软引用，内存空间足够，垃圾回收器就不会回收它；如果内存空间不足了，就会回收这些对象的内存。只要垃圾回收器没有回收它，该对象就可以被程序使用。软引用 …
Java中的SoftReference即对象的软引用。如果一个对象具]]></description><category></category></item></channel></rss>