Android Intent for page Jump

What is Intent Intent can be understood as a messenger (intention) Intent cooperates to complete the communication between Android components, or to realize the jump between pages Intent to jump between pages startActivity(intent) / / the first way to start startActivityForResult(intent, requestCode); / / the second way to start onActivity ...

Added by uniflare on Fri, 06 Dec 2019 04:35:48 +0200

Android Development Notes Material Design animation -- water ripple and exposure effect

Today we will introduce some animations of the Material Design button: water ripple and exposure effect. Source download address: 1. Water ripple effect   1.1 layout file <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http: ...

Added by dawho9 on Thu, 05 Dec 2019 17:32:57 +0200

Android Learning Grid View

I. Introduction: GridView is a component that displays multiple pictures in the form of tables. It displays the content in the form of rows and columns. For example, to implement the nine palace diagram, GridView is the first choice. 2. Code block: The students who read my last blog should know that it takes a lot of time to write all the steps ...

Added by undertaker16 on Thu, 05 Dec 2019 02:36:28 +0200

python writing file statistics script

python writing file statistics script Idea: use some functions in os module (os.listdir(), os.path.isdir(), os.path.join(), os.path.abspath(), etc.) Implementation function: display the multi-level directory and the specific file type you want to find (for example, the file ending with ". py"), and read the first line of each file (ge ...

Added by ntlab on Wed, 04 Dec 2019 03:56:15 +0200

Use SMTP in System.Net.Mail to send mail (with attachments)

System.Net.Mail Use Simple Mail Transfer Protocol SMTP to send mail asynchronously To implement SMTP to send mail, you need to understand these classes SmtpClient: use the profile settings to initialize a new instance of the SmtpClient class. It contains the following properties: Host: set the host name or host IP used for SMTP service; Port: s ...

Added by nesargha on Tue, 03 Dec 2019 22:43:45 +0200

How do I change Swagger's skin?

We talked about integrating Swagger 2 components in Spring Boot, so today we'll talk about how to change Swagger's skin? Environment building: Spring Boot relies on Swagger Spring Boot starter for rapid building. For specific Swagger Spring Boot starter, please refer to: https://github.com/SpringForA... . The build tool is Maven, the developme ...

Added by cybercookie72 on Tue, 03 Dec 2019 16:54:38 +0200

golang[32] - blockchain-base58

base58 Base58 is a unique encoding method used in Bitcoin, which is mainly used to generate the wallet address of Bitcoin. Compared with Base64, base58 does not use the number "0", the letter capital "O", the letter capital "I", and the letter lowercase "l", as well as the "+" and "/" ...

Added by samshel on Tue, 03 Dec 2019 14:09:55 +0200

[pyqt5 QT designer] dialog series

Standard input dialog series: Main module from PyQt5.QtWidgets import QInputDialog The effect is as follows: Full code: from PyQt5.QtWidgets import (QApplication, QWidget, QPushButton, QLabel, QInputDialog, QTextBrowser,QGridLayout) import sys from PyQt5.QtGui import QIcon class Example(QWidget): def __init__(self): super()._ ...

Added by universelittle on Mon, 02 Dec 2019 22:58:14 +0200

Python crawls the cat's eye movie "the unknown" and analyzes its data

Preface The text and pictures of the article are from the Internet, only for learning and communication, and do not have any commercial use. The copyright belongs to the original author. If you have any questions, please contact us in time for handling. Author: Luo Zhaocheng PS: if you need Python learning materials, you can click the link belo ...

Added by Vball on Thu, 28 Nov 2019 15:51:22 +0200

Exercise: object oriented

1. Create an Auto class, including the number of tires, car color, body weight, speed and other attributes, and create instances through different construction methods. At least the car should be able to accelerate and slow down Another car class, CarAuto, inherits Auto, adds air conditioning and CD attributes, and re implements methods to cove ...

Added by catnip_uk on Thu, 28 Nov 2019 14:53:11 +0200