原创 一句代碼不用就可以解決android啓動頁白屏bug

1、啓動頁LunchActivity必須繼承Activity public class LunchActivity extend Activity{ } 2、manifest

原创 超簡單的android 流星雨動畫 流星動畫

1、直接看效果 2、佈局文件 <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:androi

原创 多線程使用線程池分割下載同一個文件,通過斷點續傳合併成一個文件

public class Main { private static final String url = "https://d9f43c992961ae0750505398dbb4823c.dd.cdntips.com/im

原创 android自定義view之組合控件

1、比如要實現下面的這種效果: 2、首先實現佈局效果,新建佈局文件layout_custom <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="

原创 Springboot項目引入Swagger

1、使用Idea創建好Springboot項目; 2、導入swagger所需要的jar包; <dependency> <groupId>io.springfox</groupId> <artifactId>springf

原创 android反編譯apk,查看源碼,實現UI交互功能

項目中新UI如下圖,看了UI圖有點無從下手的感覺,趕緊過去問了一下UI設計師,這個功能到底是抄襲那個app的,果然沒有猜錯 這個功能是抄襲1號店超級單品的,哈哈,知道了是那個app,立即下載了1號店,通過android studio的m

原创 Android studio更新插件失敗的解決方案,比如說Plugin Fierbase Services was not installed:Cannot download

目前用的是android studio最新版3.6.2,每次打開AS都提示firebase插件要更新,而且更新一直更新不了,提示界面如下: 其實解決方案很簡單,只要在把下載鏈接複製粘貼在瀏覽器上訪問,記得把http改爲https就可以秒

原创 Springboot上傳文件到本地或阿里雲服務器,並返回訪問鏈接

1、上傳文件代碼 /** * @Description * @Author zengyi * @Date 2020-06-10 */ @RequestMapping("/upload") @RestController @A

原创 nginx:alert kill failed no such process

Nginx 命令無效 提示錯誤如下 解決方法: 需要重新制定配置文件地址, 進入sbin文件執行命令  ./nginx -c /usr/local/nginx/conf/nginx.conf 然後再次執行命令 ./nginx -s re

原创 初學flutter 登錄佈局

void main() { runApp( MaterialApp( title: 'hello flutter', theme: ThemeData( primarySwatch:

原创 線程池多線程同時下載一個文件 斷點續傳

public class Main { private static final String url = "https://d9f43c992961ae0750505398dbb4823c.dd.cdntips.com/im

原创 android 組合控件自定義View

1、比如要實現下面的這種效果: 2、首先實現佈局效果,新建佈局文件layout_custom <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="

原创 Java通過POI讀取Excel遍歷數據,根據word模板批量生成word文檔

demo已上傳,直接用idea打開運行即可,可根據個人需求,進行二次開發 https://download.csdn.net/download/u010368726/12317633

原创 Android studio更新不了Firebase service插件的解決方案Plugin Fierbase Services was not installed:Cannot download

目前用的是android studio最新版3.6.2,每次打開AS都提示firebase插件要更新,而且更新一直更新不了,提示界面如下: 其實解決方案很簡單,只要在把下載鏈接的http改爲https就可以秒下載了,下載完插件之後可以直

原创 Circular view path [test]: would dispatch back to the current handler URL 錯誤原因。。。

使用springboot上傳圖片的時候,錯誤提示 Circular view path [test]: would dispatch back to the current handler URL [/upload/test] again