First step dependence.
build.gradle under project
build.gradle under moudle
Error after synchronization:
WTF? What the hell is this.
Search online and add @ aar after the version numb ...
Posted by pbjpb on Mon, 04 May 2020 11:00:57 +0200
java lazy development: mybatis generator generates the corresponding entity class, xml Mapper file, interface and help class according to the table design in the database.
Take spring-tool-suite-3.9.2.RELEASE as an example:
Posted by benyamin on Mon, 04 May 2020 05:54:22 +0200
1, Change style
First, change the style of the system to the style without ActionBar, set the color of the theme, and then reference the style.
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="colorPrimaryDark ...
Posted by sander_ESP on Sat, 02 May 2020 21:06:57 +0200
How to start the Activity of another APP from one APP
1. Start with custom action
In this way, you only need to set an action in the code, and the system will automatically filter to find the corresponding Activity of this action
Code of current APP
Intent intent = new Intent();
//Here is the custom action used
Posted by ChrisBoden on Sat, 02 May 2020 08:53:50 +0200
The company has a small need to dynamically configure the value of android:scheme in Android manifest.xml.
This translates into the problem of modifying xml node values through an external java project.
Among them, Android manifest.xml needs to stipulate a rule:
Posted by ridster on Sat, 02 May 2020 07:18:10 +0200
Install JDK before installing Tomcat. See JDK installation (bin)
1. Download and unzip Tomcat
[root@bogon src]# wget https://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-9/v9.0.0.M22/bin/apache-tomcat-9.0.0.M22.tar.gz
[root@bogon src]# tar xvf apache-tomcat-9.0.0.M22.tar.gz
2. Consider the ...
Posted by simonrs on Sat, 02 May 2020 05:36:44 +0200
From: http://blog.csdn.net/wenwen091100304/article/details/49667293, good summary
The Chinese meaning selector is often used as the background of components in Android. The advantage of doing this is that it does not need to use code control to realize the transformation of different background colors or pictures of compo ...
Posted by jmanfffreak on Fri, 01 May 2020 17:36:32 +0200
Add the bean s needed to upload files in pomxml
Adding information such as file size file encoding to dispatcher servlet XML
Background upload process
FileService source code display
FTPUtil source code display
In a project, file upload is often needed. The following process is the file upload step I used in ...
Posted by doood on Fri, 01 May 2020 01:38:15 +0200
android sets button style (border color, fillet) and picture style (fillet)
Set button border color:
Create a new button? Edge.xml file in drawable
<?xml version="1.0" encoding="UTF-8"?>
<!-- Border color value --><item>
Posted by FrozNic on Thu, 30 Apr 2020 21:02:04 +0200
java batch download, package multiple files into zip format to download
What we need now:
Download the pic package under the product family and product type according to the product family and product type;
pic package is a zip file;
These packages exist in another table as blob s:
T? Imagefile table:
Now what we need to do is ...
Posted by wemustdesign on Thu, 30 Apr 2020 16:08:10 +0200