Android Studio learn to write English dictation app (music player) I
Recently, I fell in love with Android APP. I read some data and wrote while learning. It's just a hobby to pass the time. The tool is Android studio 3.0.1. In order to be lazy, I'm going to write a dictation APP for my children. The idea is to download the audio resource package from APP to SD card at that time. The APP plays an ...
Posted by gerardg on Thu, 19 Dec 2019 09:05:50 -0800
4-AI--Activity jump animation
Zero, preface
1. Open RedActivity and click the screen to enter BlueActivity. At this time, RedActivity moves out to the left and BlueActivity moves in to the left
2. Click the back button, BlueActivity moves out right and RedActivity moves in right
Default jump mode:
Effect of this case:
1, Test class
1. Red Activ ...
Posted by jaylee on Thu, 19 Dec 2019 07:14:00 -0800
Gradle for android profile
preface
Create a new project directly under Android Studio and you can use it!
I. Gradle settings file
settings.gradle is used to indicate which modules Gradle should include when building an application. Only app module is included here
include ':app'
II. Top level construction documents
Look at build.gradle of the project under ...
Posted by flash gordon on Wed, 18 Dec 2019 11:01:47 -0800
IIS deployment issues collection
1,
Server error in '/' application.
Compile error
Description: an error occurred during compilation of the resources required to service the request. Check the following specific error details and modify the source code as appropriate.Compiler error message: CS0016: failed to write to output file "C: \ windows \ Microsoft. Net \ fram ...
Posted by joesaddigh on Wed, 18 Dec 2019 09:33:02 -0800
Packaging the DecorView of Activity (2)
I have seen the modification of the system code of the company to the root layout decor layout.xml
When I started to develop the system a few days ago, I always wanted to change the source code of the system. As for the reason, I always wanted to install it. After stepping on a few pits modified by others, I still felt that on the basis of no ...
Posted by ntjang on Wed, 18 Dec 2019 08:46:18 -0800
New micro ORM framework of Weed3 for java
Weed3, micro ORM framework (support: java sql, xml sql, annotation sql; stored procedure; transaction; cache; monitor; etc.)
The first generation was developed in 2005;
In 2008, the second generation was developed. At that time, it entered the Internet company and had a new understanding of performance;
The third generation was developed in 14 ...
Posted by adamp1 on Tue, 17 Dec 2019 20:08:00 -0800
JavaEE Foundation (05): Filters, listeners, interceptors, application details
Source code for this article: GitHub. Click here || GitEE. Click here
1. Listener listener
1. Introduction to concepts
There are three components of JavaWeb: Servlet, Listener, Filter.A listener is a component that monitors the state changes of related objects in an application.
2. Event Source Object
Refers to the object being listened on.
...
Posted by mudasir on Tue, 17 Dec 2019 15:57:52 -0800
SpringBoot + mybatis multiple data sources
1. Create project
For Eclipse platform, spring tool suite is installed
File - > New - > other - > spring boot - > spring starter project - > select jdk and other information - > Click Web, select Web, click SQL, select JPA, Mybatis, MYSQL, click next, Finish.
2. Document editing
2.1 modify pom.xml
C ...
Posted by shdt on Tue, 17 Dec 2019 15:18:11 -0800
The Use of SpringAOP in web Applications
Previously, aop was notified by manually creating proxy classes, but in daily development, we don't want to hard-code these proxy classes in code. We prefer to use DI and IOC to manage aop proxy classes.Spring provides us with the following ways to use the aop framework
1. Configuring AOP declaratively (that is, using an xml configuration file) ...
Posted by bjdouros on Tue, 17 Dec 2019 12:16:41 -0800
Research on Spring transaction configuration
I. configuration and analysis of spring+mybaits xml in the project
Generally, we will configure in datasource.xml as follows, but the principle and purpose of each configuration item is not so clear. If not clear, there will be a pit in use, so we will explain these configuration items one by one
(1)Configure data sources
<bean id="dataS ...
Posted by Courbois on Tue, 17 Dec 2019 10:26:15 -0800