Android work experience volume audio playback control (1)

This article is mainly about volume control and short audio loading control. Play short audio through MediaPlayer or SoundPool I use the dynamic initialization method to load. That is to say, the audio you put in will be loaded all the time. It will not be loaded once and then destroyed First, let's talk about the encapsulati ...

Added by BigMonkey on Sat, 28 Dec 2019 18:54:32 +0200

day13_Common Network Request Patterns in Android

Common Network Request Patterns in Android HttpUrlConnection 1.get request 2.post request 3. Download Web Video/Music/Pictures to SD Card I. Concept: 1.http: Hypertext Transfer Protocol (client and server), Application Layer Protocol 2.html: Hypertext Markup Language 3.xml: Extensible Markup LanguageI ...

Added by metalblend on Fri, 19 Jul 2019 16:19:12 +0300

Some cluttered knowledge points (3)

Some cluttered knowledge points in Android (3) 1. Define style to extract xml attributes of View Sometimes every Child in a layout has the same style, so it's too redundant to rewrite many identical attributes each time. So, extract these attributes and define them into style, as follows <!-- This is the style of the sideslip menu. ...

Added by Mobile on Fri, 05 Jul 2019 20:36:49 +0300

Talking about Design Mode 1-Strategy Mode | Adapter Mode | Factory Mode

Preface Recently, I read Think In JAVA, which talks about inheritance, composition, abstract classes and interfaces, and mentions several design patterns. These design patterns have really helped me better understand the meaning of each data structure in JAVA. Today, I have my own understanding of the book, a little collation of these design pa ...

Added by danzene on Mon, 03 Jun 2019 01:29:19 +0300