Realization of Mobile Security Guard Based on android

Next, we implement the communication guard function, which is to provide users with a blacklist function. Users add the number they don't want to answer to the blacklist and hang up automatically if the number calls. Because the view is separate ...

Posted on Mon, 16 Sep 2019 04:02:49 -0700 by Acs

Talk Android together (149 chapters: Draw1 of Android Custom View)

Hello, officers and gentlemen. Last time we talked about the Layout example of customized View in Android. This time we talked about the Draw of customized View. Don't mention gossip, turn right. Let's talk about Android! Officials, we introduced the ...

Posted on Sat, 14 Sep 2019 06:38:07 -0700 by kalaszabi

Android Jetpack -- Navigation

Navigation is a Fragment that allows users to browse, enter and exit different content in an application. Navigation enables you to move from simple button clicks to more complex modes, such as application bars and navigation drawers. Navigation comp ...

Posted on Sat, 14 Sep 2019 05:41:24 -0700 by spenceddd

Two-way communication between Android Service and Activation based on serial Bluetooth module

Links to the original text: https://my.oschina.net/u/860952/blog/549214 I always want to use mobile phones to control some things, such as lights, fans and other household appliances o ...

Posted on Fri, 13 Sep 2019 03:29:06 -0700 by birdie

Android Componentized Architecture Learning Notes - Static Variables/Resources/Confusion/Multi-Channel Packaging for Componentized Programming

1. Componentized static variables: Generation of R.java: Each module generates an aar file and is referenced in the Application module, which is merged into an apk file.When each secondary module is decompressed in the Application module, the ...

Posted on Thu, 12 Sep 2019 20:00:22 -0700 by shseraj

Analyzing the View Binding Process for Activity

Original Link: https://my.oschina.net/acidsweet1990/blog/260838 When we coding, the textbook code commonly used in Activity.onCreate() is: setContentView(R.layout.main); Then we can d ...

Posted on Thu, 12 Sep 2019 13:08:53 -0700 by DoD

Java Socket Reads Data Posture Correctly

Preface Usually, Http communication is the most commonly used in daily development, interface debugging is relatively simple, and there is also a relatively strong framework support (OkHttp). The place where people usually use socket communication ...

Posted on Thu, 12 Sep 2019 03:03:36 -0700 by denzlite

Android Input -- ViewRootImpl Event Distribution (Activity View Group View)

A Brief Introduction to the Whole Process of Android Event Delivery   The source of the Android input event is the device node under / dev/input / and the end point of the input event is a window managed by WMS, which is finally processed by Vi ...

Posted on Wed, 11 Sep 2019 23:15:25 -0700 by feckless

Write your own code base

1. Preface You should know when developing, there are many common examples of operation. For example, array de-duplication, keyword highlighting, disruption of the array and so on. These operations, the code generally will not be many, the realization of logic will not be difficult, the following code, I will not explain too much, with comments ...

Posted on Wed, 11 Sep 2019 20:22:50 -0700 by jonoc33

Android Game Development: Surface View Multi-touch Perfect Piano Game Demo

First, when we use Surface View to develop small games, if we need to draw buttons and interactive objects on the form, then we need to monitor the multi-touch screen, and every touch change needs to interact with the game. How to achieve this? ...

Posted on Mon, 09 Sep 2019 03:06:07 -0700 by fareedreg