"Android App Development Advanced and Project Combat" resource download and content errata

Download

The following are the tools and code resources used in the book "Advanced Android App Development and Project Combat":
1. The Android Studio version used in this book is 4.2, and the latest installation package can be downloaded from the official Android website .
2. This book provides demo project downloads of all sample source codes. For the download method of source codes (adapted from Android 4.4 to Android 11), see the QR code at the end of the preface of the book, and scan the QR code at the end of the preface to obtain the ppt courseware. The latest source code can also be obtained by visiting my github, the github address is https://github.com/aqi00/advanceapp , the github address of the server is GitHub - aqi00/net_server: "Android Studio development practice: from zero foundation to App online" server program .

References

1. To learn this book, you need to have a Java foundation. If you have not learned Java, you can study the following series of Java tutorials "Java Development Notes" , or read the author's Java monograph " Learn Java: From Zero Basics to Project Combat ".
2. To learn this book, you also need to have the basics of Android development. If you have never learned Android, you can study the following series of Java tutorials "Android Development Notes" , or read the author's monograph on Android introductory " Introduction to Android App Development and Project Practice ".

Errata

The following is a description of the correction of the clerical errors in the book:

1. The first batch of errata records

1. On page 37, "2.2.3 Tracking the sliding trajectory to realize handwritten signature" in Chapter 2

In the code comment, "// set the type of brush, STROK means hollow", add an E after STROK, that is, change it to "// set the type of brush, STROK E means hollow".

2. Page 251, "7.3.3 Recording WAV Audio" in Chapter 7


  In the WAV recording thread sample code in this section, the line of code int frameSize = channels * sampleBits / 2 in the getWavHeader method
is changed to
  int frameSize = channels * sampleBits / 8 ; in addition, the line of code   header[32]
on page 252 = (byte) (channels * sampleBits / 2); // change
the sample frame size to   header[32] = (byte) frameSize ; // sample frame size

3. On page 406, Chapter 11 "11.1.1 Speech engine built into the system",
add the following description in red before the last paragraph of this section:
Starting from Android 11, the text-to-speech function needs to add an additional service statement, that is, to modify In the AndroidManifest.xml of the App module, add the following lines inside the manifest node:





<queries>     <intent>         <             action android:name="android.intent.action.TTS_SERVICE" />         </intent>     </queries> The key is how to judge which languages ​​each speech engine supports...

4. On page 479, "13.1.3 Building a Penetration Server" in Chapter 13

In the middle of this section, "Installation and configuration steps for combining cygwin and coturn", in step 4, "then open turnserver.conf, and add the following lines of server parameter configuration" to supplement listening-ip, and the complete parameter configuration example is as follows: #Listening
port
listening-port=3478
#Intranet IP (can be viewed through ipconfig /all)
listening-ip=192.168.1.5

#External network IP
external-ip=120.36.33.151
#User name and password
user=admin:123456
#Domain
name realm=stun. xxx.cn

5. Page 512, Appendix C

In the fourth line of this subsection, ""Development entry" refers to" is changed to " "Development entry" refers to "

Guess you like

Origin blog.csdn.net/aqi00/article/details/128251607