After Android 9, it supports a mobile phone to connect multiple Bluetooth devices at the same time. Take a mobile phone to connect 2 Bluetooth headphones. For example, how to get a list of multiple devices can refer to the following code.
BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
adapter.getProfileProxy(this, new Bluetoot ...
Posted on Thu, 03 Oct 2019 16:02:30 -0700 by mrwowza
Microservice BCrypt Cryptographic Encryption
1 BCrypt cryptographic encryption
No application can save passwords in plain text, considering security. Password should be encrypted by hashing algorithm. There are many standard algorithms such as SHA.
Or MD5, combined with salt, is a good ...
Posted on Wed, 02 Oct 2019 10:23:30 -0700 by sogno
Advanced Encryption Standard (AES), also known as Rijndael Encryption, is a block encryption standard adopted by the United States federal government.This standard is used to replace the original DES (Data Encryption Standard), which has been analyzed by many parties and widely used all over the world. After a five-year selecti ...
Posted on Tue, 01 Oct 2019 10:20:53 -0700 by d-woo
Introduction to Builder Model
Separating the construction of a complex object from its representation allows the same construction process to create different representations
Users only need to specify the type they need to build to get them. The construction process and details need not ...
Posted on Mon, 30 Sep 2019 20:23:50 -0700 by subwayman
Mobile browser and Wechat open the web page, all support calling camera to take photos and open albums.
Look first at the final results:
Every time you click "Click Upload", you can choose the album or take photos. After the selection, you can show one more picture. There is no upload server.
Click "Re-upload&qu ...
Posted on Mon, 30 Sep 2019 14:14:21 -0700 by sharmeen
Introduction to itchat module
Itchat is an interface based on Python 3, which encapsulates the web page version of wechat and sends and receives messages. using itchat module in python, we can quickly get friends'information and so on.
Send messages to mobile assistants
import itchat #Third-party m ...
Posted on Mon, 30 Sep 2019 10:18:50 -0700 by hendoyeah
Flutter's Basic Widget
Preface 1: I will update some Flutter text tutorials in the next few days.Update progress: at least two articles per week;
Location of update: first launched on the public number, the next day updated on digging, thinking, developers headlines and other places;
More Exchanges: You can add my Weibo 372623326, pay attention ...
Posted on Fri, 27 Sep 2019 03:06:13 -0700 by kpzani
This article mainly introduces the use of Length Field BasedFrameDecoder decoder custom protocol. Usually, the format of the protocol is as follows:
Length Field BasedFrameDecoder is an important class for netty to solve the problem of unpacking and sticking. Its main structure is header+body structure. We only need to pass in the correct pa ...
Posted on Sun, 22 Sep 2019 21:05:34 -0700 by googlit
This control is also not an original control. It comes from the code on the reference network. Symmetrical as its name implies, it divides the canvas into upper and lower parts, automatically draws the set value according to half the canvas height as the reference height, and then increases the dynamic transition effect, which is sim ...
Posted on Sun, 22 Sep 2019 17:49:46 -0700 by sundru
9102, if you don't know react yet, I hope this article can help you quickly understand the basics of react.js.
Use create-react-app Tools quickly create React SPA s.
# Create Project
yarn create react-app my-app
# Run program in development mode
Initial project structure:
Posted on Sun, 22 Sep 2019 09:12:04 -0700 by tekken00