❤ ⅸ Android startActivity source code analysis (including starting new applications) ❤ ️
catalogue
Start a picture
Classes involved
1,Activity.java
1.1 startActivity()
1.2 startActivityForResult()
2,Instrumentation.java
2.1 execStartActivity()
3,ActivityTaskManage.java
3.1 getService()
3.2 IActivityTaskManagerSingleton
4,ActivityTaskManagerService.java
4.1 startActivity()
4.2 startActivityAsUser()
4.3 startActivityAsU ...
Added by jackohara on Sun, 10 Oct 2021 04:55:42 +0300
Calculation of infix expression in the development of Android Applied Science calculator for raspberry pie promotion plan
2021SC@SDUSC
Calculator classes include calculator class, BaseCalculator class and ScienceCalculator class. The calculator class is used to represent the state of the calculator. BaseCalculator class is used to calculate basic mathematical expressions (addition, subtraction, multiplication and d ...
Added by Maharg105 on Sat, 09 Oct 2021 22:19:11 +0300
Solution to android.view.WindowManager$BadTokenException
About Token
android.view.WindowManager$BadTokenException: Unable to add window
Do you often encounter this bug? The usual solution is to judge and protect the activity
if(!isDestroyed() && !isFinishing())
However, it will be found in a ...
Added by bamse on Fri, 08 Oct 2021 10:06:53 +0300
Common Controls and Event Processing for Mobile Device Application Development PC 2
1. Title: Interface design.
(1) Develop a single page APP. (2) Linear Layout TAB page: Display personal related information, using TextView, EditText, Button, CheckBox and other controls. (Page content can also be designed by itself) (3) "Touch Screen Processing" TAB Page: Implement touch screen function in specified areas. (4) Other ...
Added by kidbrax on Thu, 07 Oct 2021 19:36:21 +0300
background of Android Activity/Window/View
preface
The background of Activity/Window/View is the background of View, followed by the background of Activity, and the background of Window is used less. What is the relationship and difference between the three? Through this article, you will learn:
1. Principle and application of View background 2. Principle and application of Window ...
Added by potatoCode on Thu, 07 Oct 2021 04:11:58 +0300
Basic controls and properties developed by Andriod
Control 1: TextView [2021 latest edition] Android (Android) develops zero-basics introductory course [full set] (created by millet, Ali, Tencent, IQIYI front-line factory teachers)_dairy dairy_bilibili
TextView is literally a text view, just for displaying text. It's called a label in iOS, or UILabel. To display TextView in an Activity,We need ...
Added by Supplement on Wed, 06 Oct 2021 19:56:38 +0300
Android BaseAdapter
ListView and GridView
ListView, list View, is one of the most important components in Android. ListView is used in almost every Android application. Is a list that displays the View view vertically in the project. GridView 1, Number of columns android:numColumns="3" 2, Horizontal distance android:verticalSpacing="10dp" 2, Vertical distance ...
Added by mezise on Wed, 06 Oct 2021 03:58:14 +0300
Android Framework combat video -- BootAnimation startup source code analysis (Android 8.1)
Course Q & A and new course information: QQ communication group: 422901085 for course discussion Video link of FrameWork introductory course: https://edu.csdn.net/course/detail/30298 Video link of FrameWork practical lesson 1: https://edu.csdn.net/course/detail/30275 FrameWork cross process communication video link: https://edu.csdn.net/cou ...
Added by grumpy on Mon, 04 Oct 2021 23:54:22 +0300
Android four components communication core
preface
Series of articles:
Display process from Android Activity creation to View Android four components communication core
We know that the four components of Android: Activity/Service/Broadcast/ContentProvider can conduct cross process communication, which are the ability to realize cross process communication with Binder. There are ...
Added by bj_ on Mon, 04 Oct 2021 21:46:46 +0300
Actual development of Android Framework - detailed analysis of aidl file of Binder special explanation
csdn online learning course, course consultation and Q & A and new course information: QQ communication group: 422901085 for course discussion
android cross process communication practice video course (add group to get preferential)
When you are doing application development, you often encounter the need for cross process communication. M ...
Added by Sharkadder on Mon, 04 Oct 2021 21:11:01 +0300