Android implementation of music player [source code + Notes] - MediaPlayer
Design sketch:
Before writing the code, I'll tell you a pit. When I implement this function, I encountered a pit when importing raw file, and I can't find this folder. If you also encounter this situation, please refer to a blog I wrote before to solve the problem: https://blog.csdn.net/qq_27494201/arti ...
Posted by maga2307 on Mon, 21 Oct 2019 11:41:12 -0700
MyBatis mapping file related operations
I. MyBatis mapping file
1, introduction
The real power of MyBatis lies in its mapping statement and its magic. Because of its extraordinary power, the XML file of mapper is relatively simple. If you compare it with JDBC code with the same function, you will immediately find that nearly 95% of the code is saved. MyBatis is built for SQL and is ...
Posted by literom on Mon, 21 Oct 2019 00:45:11 -0700
JAVA CAS single sign on 3: CAS agent model drill
Preface
JAVA CAS single sign on one: build CAS server
JAVA CAS single sign on II: CAS common mode 1 drill
The agent mode is more complex than the normal mode in the previous section. But the configuration will be slightly different. The so-called difficult will not, will not be difficult. If you encounter a problem that you have never met be ...
Posted by lenhewitt on Sun, 20 Oct 2019 22:51:11 -0700
Data security management: RSA encryption algorithm, detailed explanation of signature verification process
Source code: GitHub point here || GitEE point here
I. Introduction to RSA algorithm
1. Encryption and decryption
RSA encryption is a kind of asymmetric encryption, which is widely used in public key encryption and electronic commerce. The encryption and decryption can be completed without passing the key directly. This can ensure the security ...
Posted by subalan on Sun, 20 Oct 2019 17:43:51 -0700
Data security management: RSA algorithm, signature verification process details
Source code: GitHub point here || GitEE point here
I. Introduction to RSA algorithm
1. Encryption and decryption
RSA encryption is a kind of asymmetric encryption, which is widely used in public key encryption and electronic commerce. The encryption and decryption can be completed without passing the key directly. This can ensure the security ...
Posted by mtombs on Sun, 20 Oct 2019 16:54:05 -0700
Android--demo collection -- integrated speech recognition (using native speech recognizer)
SpeechRecognizer is located in the android.speech package of the source code (API 29--Android 9.0). Here is a simple call to Demo about the native class. So that you are not familiar with the feasibility of this kind of rapid verification technology.
Tips: 1.SpeechRecognizer will connect to the s ...
Posted by manny on Sun, 20 Oct 2019 15:16:45 -0700
Java Web Learning - how to upload files
Java Web Learning (12) - how to upload files
01 source code display
Servlet source code:
Preparation: need to import common IO and common file upload components
package com.hooi.servlet;
import org.apache.commons.fileupload.FileItem;
import org.apache.commons.fileupload.FileUploadException;
import ...
Posted by Cynix on Sun, 20 Oct 2019 12:34:23 -0700
SSM project practice 23: extension of basic data query
Basic data query
Preface
Remove Pagination
Modify basic.jsp
Modify BasicController
Add search list
Add dependency
Modify the springmvc.xml file
Modify the basic.jsp page
Control layer adding method
service level
dao level
mapper.xml
test
Preface
In general, the basic data is not very large a ...
Posted by shaunmckinnon on Sat, 19 Oct 2019 13:09:36 -0700
Use of android request network and httpclient to upload and download
Original link: http://www.cnblogs.com/riasky/p/3464808.html
The most important access to the network is the http protocol.
The http protocol is simple, but it's important.
Directly on the code, which is a code block code block, with whi ...
Posted by maverickminds on Sat, 19 Oct 2019 10:13:53 -0700
Using maven compiler plugin and maven shade plugin to complete maven project packaging
Recently, I was in charge of a pure maven project (project requirements should be as light as possible), and I need to complete the packaging work by myself.
Therefore, based on Maven compiler plugin and Maven shade plugin, the project packaging is completed.
Among them:
Maven compiler plugin is responsible for project compilation;
maven-sha ...
Posted by cookiemonster4470 on Fri, 18 Oct 2019 13:15:26 -0700