SharedPreference是一种轻量级的内部数据存储方式,采用Key/value的形式,只运行存储一些简单的数据,比如int,float等类型 首先先创建SharedPreference package com.example.sharedpreference; import androidx ...
分类:
移动开发 时间:
2021-06-04 19:53:37
阅读次数:
0
系统定制的时候需要删除一些Androd的原生应用,这些模块的编译配置在不同的mk文件里面,直接的方法是搜索所有的mk文件,查找这个模块的名称。 比如你要去掉Music, 那么在android源码目录下运行下面指令:find build/ -name "*.mk"|xargs grep "Music" ...
分类:
移动开发 时间:
2021-06-04 19:45:15
阅读次数:
0
Path '\react-native-safe-area-context\android\build\intermediates\compiled_local_resources\debug\out' is not a readable directory. 解决: 按照目录手动新建文件夹 ...
分类:
移动开发 时间:
2021-06-04 19:43:18
阅读次数:
0
从3.1开始,Spring引入了对Cache的支持。其使用方法和原理都类似于Spring对事务管理的支持。Spring Cache是作用在方法上的,其核心思想是这样的:当我们在调用一个缓存方法时会把该方法参数和返回结果作为一个键值对存放在缓存中,等到下次利用同样的参数来调用该方法时将不再执行该方法, ...
分类:
编程语言 时间:
2021-06-04 19:34:35
阅读次数:
0
修改build.gradle文件 // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { goog ...
分类:
移动开发 时间:
2021-06-04 19:09:13
阅读次数:
0
一手遮天 Android - Animation: 视图动画(View Animation)自定义 Interpolator ...
分类:
移动开发 时间:
2021-06-02 20:54:25
阅读次数:
0
Platform: RockchipOS: Android 7.1.2Kernel: 4.4 1.问题描述:当插上USB mic录音设备开机时,系统没有声音。开机后再接上USB mic,此时声音就正常。 2.问题分析: 接着usb mic开机时,MT100:/ # cat /proc/asound/ ...
分类:
其他好文 时间:
2021-06-02 20:30:25
阅读次数:
0
import com.alibaba.fastjson.support.spring.GenericFastJsonRedisSerializer; import org.springframework.cache.CacheManager; import org.springframework.c ...
分类:
其他好文 时间:
2021-06-02 20:05:07
阅读次数:
0
Schema ①扩展名 .xsd 本身是一份xml文档 ②对名称空间(namespace)支持的很好 ③ 支持的类型比dtd跟丰富约束的更细致 可以支持自定义的类型 ④ schema正在逐步替换dtd 在android中清单文件和布局文件 用到了schema约束技术 ①xml的约束技术 作用 规范x ...
分类:
其他好文 时间:
2021-06-02 19:49:55
阅读次数:
0
spring: #thymeleaf thymeleaf: cache: false prefix: classpath:/templates/ check-template-location: true suffix: .html encoding: utf-8 mode: HTML #这个是关键 ...
分类:
编程语言 时间:
2021-06-02 19:47:35
阅读次数:
0