- 博客(4)
- 资源 (5)
- 收藏
- 关注
原创 webview 设置透明背景
wb.setBackgroundColor(0); // 设置背景色//上边必须加,否则 报错wb.getBackground().setAlpha(0);
2021-03-29 17:13:19 421
原创 apk 下载更新,支持暂停,去掉,继续下载,进度条显示【2】
import android.annotation.SuppressLint;import android.app.Activity;import android.app.Notification;import android.app.NotificationChannel;import android.app.NotificationManager;import android.app.PendingIntent;import android.content.Context;impor...
2021-03-22 17:46:30 404
原创 askncTask 下载apk 通知栏进度更新【1】
import android.app.Notification;import android.app.NotificationChannel;import android.app.NotificationManager;import android.app.PendingIntent;import android.content.Context;import android.content.Intent;import android.graphics.BitmapFactory;impo...
2021-03-16 16:53:23 965
原创 greendao 加载本地db文件
greendao 打开assets 下边db1.首先复制db 文件到 data/data/包名/databases 下 /** * 复制db */ private void copyDataBase(String dbname) throws IOException { // Open your local db as the input stream InputStream myInput = this.getAssets(...
2021-03-04 10:58:29 876 1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人