Android NDK Tombstone/Crash Analysis
## Common Crash scenarios in Android development
In Android development, the program Crash is divided into three situations:
ANR(Application Not Responding)
Flash (NDK program causes error)
Uncaptured exceptions are easy to locate errors base ...
Posted on Tue, 13 Aug 2019 00:07:27 -0400 by 9AF
1. Setting fonts for text
<title>Setting fonts for text</title>
font-family: "Times New Roman",Arial
font-family: Microsoft YaHei,Blackbody,Song style
Posted on Mon, 12 Aug 2019 10:07:28 -0400 by worldcomingtoanend
We know that page hopping is a very important part of mobile applications. Almost all our applications and users deal with pages, or view s, and our Android s are basically Activities and Fragment s. And in Flutter, it's called Route, which is the page that deals with users. This article explores in detail how pages interact in Flutter. ...
Posted on Sun, 11 Aug 2019 11:11:13 -0400 by may27
Mapbox is a very useful open source map engine. It supports android, ios, js, rn and other platforms with various functions. However, for the development of map plug-in, no specific implementation document has been found. So this paper takes JS as an example to record the process of developing mapbox plug-ins.
var map = n ...
Posted on Sun, 11 Aug 2019 09:07:15 -0400 by kemu_
1. Print Library Officially Provided by Android
1. Step 1 Install the Print Service Plug-in
2. Determine whether print services are supported
3. Call api corresponding to v4 library to complete printing
3.1. Print pictures
3.2, Print PDF
2. Moving flowers and trees
3. Network ...
Posted on Sun, 11 Aug 2019 03:08:11 -0400 by cx3op
For Android development, during interviews, people are often asked about the rendering process of View. I often ask interviewers about the drawing process of View.
For developers over three years, it's enough to know the basics of onMeasure/onLayout/onDraw and what they do.
If you come to our company and I'm your intervi ...
Posted on Fri, 09 Aug 2019 04:36:13 -0400 by Knifee
One: What is Dagger 2?
Second: Why Dagger 2
Three: How to use Dagger2
How to use Dagger2
(1) When other parameters are needed for the construction method
(2) Dependency between modules
(3) @Named annotation
(4) @Singleton annotation
(5) Custom Scoped
(7) lazy and Provider
Posted on Fri, 09 Aug 2019 04:34:00 -0400 by adam87
Accessibility Service is a service provided by an Android system, which inherits from the Service class. AccessibilityService runs in the background and can monitor some events (AccessibilityEvent) emitted by the system. These events are mainly a series of state changes in the UI interface, such as button clicks, input box content ...
Posted on Fri, 09 Aug 2019 04:32:33 -0400 by timcapulet
Introduction to common usage of Android System Service (getSystemService) (1)
0. What is a system service?Why use system services
We often use a variety of system management services during Android development, such as WifiManager for Wifi operation, PowerMamager for power operation, BatterManager f ...
Posted on Thu, 08 Aug 2019 21:58:53 -0400 by moonie
In the normal development of Android, we often encounter the need of switching between different network environments (such as development environment, test environment) and hitting multiple channel packages at a time. How to manage the configuration of network environment gracefully? How to make multiple channel packages quickly? This is a que ...
Posted on Thu, 08 Aug 2019 05:28:46 -0400 by sheila