Basic usage of notification
notice
Notification is a special function of Android system. When an application needs to send a reminder to users, it can be realized by notification. Most Android users like this function. Even IOS has added similar functions after version 5.0
1. You need a notification manager to manage notifications. You can call Content' ...
Posted by stbalaji2u on Sun, 26 Jan 2020 09:59:40 -0800
Electron 7.1.10 installation failed
I have a problem recently. That is, Mac OS can't read and write when it is plugged into NTFS format mobile hard disk, and then it finds that some file system prompts are occupied by Mac OS and can't be opened. Every time I need to execute the command to mount it manually... Then I can't accept the lazy cancer, so I developed a small tool with ...
Posted by RandomEngy on Sun, 26 Jan 2020 08:59:06 -0800
Development of sleep app (1): native.js calls the native mediorecorder object to realize the function of monitoring dreamtalk
We are going to develop a sleep aid app. On the way, we need to realize the function of listening to the user's dreamtalk. Because the h5 + encapsulated audiocorder object used by the front desk staff is not enough to achieve the expected effect, so we decided to use native.js to call the native mediacorder object to realize th ...
Posted by bloo on Fri, 24 Jan 2020 06:49:59 -0800
Position details and its application (negative value can be taken) [millet case]
Static positioning
1.Static positioning is the default positioning method of labels, that is, each label is located in the HTML The default location in the document flow.
2.In static positioning state, edge offset attribute cannot be used(top,bottom,left,right)Change label position
3.Generally, when w ...
Posted by mikeeeeeeey on Fri, 24 Jan 2020 01:19:40 -0800
Bootstrap Grid system
Bootstrap Grid System
Bootstrap includes a responsive, mobile device first, and non fixed grid system, which can be appropriately expanded to 12 columns as the device or viewport size increases. It contains predefined classes for simple layout options, as well as powerful hybrid classes for generating ...
Posted by wattsup88 on Thu, 23 Jan 2020 02:10:26 -0800
Continue my login module development I
1. In the module in django, create the user
class UserInfo(models.Model):
name = models.CharField(max_length=20)
email = models.CharField(max_length=50)
power = models.IntegerField()
phone = models.CharField(max_length=20)
country = models.CharField(max_length=10)
city = models.C ...
Posted by MathewByrne on Wed, 22 Jan 2020 00:57:09 -0800
Move array elements from one array position to another
It's hard for me to figure out how to move array elements. For example, the following is given:
var arr = [ 'a', 'b', 'c', 'd', 'e'];
Why can I write 'b' before the mobile function 'd'?
Or 'c' after 'a'?
After the move, the indexes of the remaining elements should be updated. This means that in the first example, after moving, arr [ ...
Posted by wigz01 on Tue, 21 Jan 2020 22:05:18 -0800
Applet chat session component
Chat session
scene
Chat and conversation for online customer service, etc
1, Layout circle
1. Triangle arrow
Draw a 26rpx*26rpx rectangle, rotate it 45 degrees, and then hide the half to form a right triangle on the bubble.
<!-- Draw triangle arrow -->
<view class="triangle" style="{{item.myself == 1 ? 'rig ...
Posted by BobRoberts on Tue, 21 Jan 2020 09:55:31 -0800
mui solves the conflict between single webview and PopPicker
mui single webview mode, the page is as follows. There are two poppickers on it, and then the page can't slide up and down.
<div class="mui-content us-reimburse">
<div class="block">
<div class="us-list-title">
Application information
< ...
Posted by timclaason on Mon, 20 Jan 2020 10:56:40 -0800
UDP broadcast search LAN device information
Article directory
What is UDP?
UDP core API
Introduction of datagram socket construction method
Common methods of datagram socket
The construction method of datagram packet
Common methods of datagram packet
Unicast, broadcast, multicast
Case introduction
test
What is UDP?
It is a user datagram ...
Posted by teebo on Sun, 19 Jan 2020 23:26:42 -0800