JNI_NDK Advanced Programming Guide Part 3

Android NDK Tombstone/Crash Analysis ## Common Crash scenarios in Android development In Android development, the program Crash is divided into three situations: Uncaptured exception 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

CSS - Setting Text Styles

1. Setting fonts for text <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Setting fonts for text</title> <style type="text/css"> .p1{ font-family: "Times New Roman",Arial } .p2{ font-family: Microsoft YaHei,Blackbody,Song style } </styl ...

Posted on Mon, 12 Aug 2019 10:07:28 -0400 by worldcomingtoanend

Route Jump and Data Transfer in Flutter Learning

Preface 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

Custom mapbox Plug-in - Map Snapshot Download (JS)

Effect Preview 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. mapbox var map = n ...

Posted on Sun, 11 Aug 2019 09:07:15 -0400 by kemu_

Android Advancement - Summary of Android control connecting the same Wi-Fi home printer segment

outline Introduction 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

An Analysis of the Principle of Android Drawing "Dry Goods"

background 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

Advanced Architecture, Principle and Use of Dagger 2

Catalog One: What is Dagger 2? Second: Why Dagger 2 Three: How to use Dagger2 Basic concepts How to use Dagger2 Advanced Usage (1) When other parameters are needed for the construction method (2) Dependency between modules (3) @Named annotation (4) @Singleton annotation (5) Custom Scoped (6)Subcomponent (7) lazy and Provider I ...

Posted on Fri, 09 Aug 2019 04:34:00 -0400 by adam87

Android: Basic Use of Accessibility Service Auxiliary Functions

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

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

Multi-version, multi-environment and multi-channel packaging of Android

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