Android Background Style shape -- line Line, ring Ring

I. Write in the foregoing: Rectangle rectangle and oval ellipse are introduced before, ring ring ring and line line are introduced below. As a programmer, it's a terrible thing to feel that there's nothing to do. Looking at it, the world of coding is too big, and there's a lot to learn. It's necessary to have an effective way of learning that ...

Posted on Sat, 15 Dec 2018 09:03:03 -0800 by missyevil

Android JNI calls Java in C (including custom Java methods and Log s)

Project Profile: This project calls Java methods in C Detailed introduction: When the user clicks the button, a dialog box pops up, but the dialog box is not invoked by the Java method, but by the C method. As shown below, click the button and the screen pops up a dialog box: Click the ok button in the dialog box and the dialog box disap ...

Posted on Sat, 15 Dec 2018 05:33:03 -0800 by thread_PHP

Android Notes u RxJava is too hard to understand? Implementation of RxJava mini by callBack

Every time I read RxJava articles, I can't help but talk about the observer mode, which is always confused. Later, when I saw a blog written by a god-man, I realized that the most intuitive code representation of the so-called observer pattern was the OnClickListener of the control. Here is what he said: The observer model of the program is ...

Posted on Sat, 15 Dec 2018 03:42:03 -0800 by mccdave

Android shows hiding Status Bar and Navigation Bar, immersive experience

With the iteration update of Android version, how to make a feature compatible with different versions has been a problem for developers. For example, the display and hiding of Status Bar. This article also focuses on the status Bar and Navigation in Android. Bar's display and hiding. 1. Hide Status Bar in Android 4.0 and below In Android 4 ...

Posted on Fri, 14 Dec 2018 16:57:03 -0800 by thines

Android HIDL Official Document (V) - Fast Message Queue (FMQ)

Message queue type 1 asynchronous 2 synchronization Setting up a fast message queue 1 Create the first message queue object 2 Create a second message queue object 3 Blocking queues and event markers Using message queues Zero copy operation Send queues to HIDL Corresponding official document address: HIDL(General) - Fast Messag ...

Posted on Fri, 14 Dec 2018 15:24:03 -0800 by matt1019

Android explores the loading process of Activity interface and the relationship between Activity, Window s and DecorView from setContentView

Preface When we open an activity that needs to display content, we just need to execute the setContentView method in the onCreate method. One line of code is done. It's very simple. Is there any? Nevertheless, have you ever thought about the operations performed inside the setConentView method, and what happened to Window s, DecorView, ViewRoot ...

Posted on Fri, 14 Dec 2018 14:15:03 -0800 by seenu_vas80

hello world of NDK/JNI developed by Android

Preface Due to the company's recent business needs, a C++ library was developed with a third party. As a docker, I need to know how to dock C++ interface in advance, so I have this article. To be honest, I'm not very good at writing conceptual descriptions, so I found some related introductions from the Internet and pasted them (guilt). ● ND ...

Posted on Fri, 14 Dec 2018 13:30:04 -0800 by jajtiii

Cordova Plugin ionic uses ionic (Angularjs) to invoke Alipay (Alipay) for payment.

0, introduction Previously released a blog about developing and using Cordova Plugin of Alipay (Alipay), which realized a simple call to Alipay payment function. However, the plug-in implemented in the previous blog can not be directly applied to commercial projects, because the operation of adding signatures is done o ...

Posted on Fri, 14 Dec 2018 06:12:03 -0800 by forcer

Android Proguard Security Enhancement teaches you how to make your application or SDK harder to decompile -- library packaged into jar s and confused

Original address: https://blog.csdn.net/jspping/article/details/66968367 In the development of android application layer, our technicians are more or less exposed to SDK, such as so, jar and so on. These are the core categories of technology provided by data companies to Internet development companies. Convenient things, becau ...

Posted on Fri, 14 Dec 2018 05:57:05 -0800 by austrainer

Talk Android Together (Chapter 70: RadioButton for UI Controls in Android)

Hello, officers and gentlemen. Last time we talked about Button variability of UI controls in Android. This time we talked about RadioButton of UI controls. Don't mention gossip, turn right. Let's talk about Android! Lookers, Radio Button is also called radio button. It is usually used to provide users with radio operations. ...

Posted on Fri, 14 Dec 2018 05:36:02 -0800 by BMurtagh