Android Bluetooth 4.0 Experience

Recently I worked on a Bluetooth project in my company. I worked on a smart ring project just before I started out. At that time, the Bluetooth module was written by the head of the development team. What I saw was half-understood. Many things I don't know now seem to be new. Write them down. Bluetooth 4.0(BLE) is supported above Android 4 ...

Posted by ReeceSayer on Sun, 23 Jun 2019 09:18:29 -0700

Qualified Front-end Series Fifth Bullet-Virtual Dom & Diff

Preface This is a long article!!! Stick to see the last eggs!!! At the beginning of the article, let's think about a question. Everyone says that virtual dom is what virtual dom is. First of all, we have to make it clear that the so-called virtual dom is the virtual node. It simulates nodes in DOM through JS Object objects, and then renders ...

Posted by rpieszak on Fri, 21 Jun 2019 16:03:35 -0700

OPPO.1107 Brush Notes

A Brief Introduction to the Method and Process of Manually Transferring Arbitrary APP to System APP Purpose: Maintain the same directory as the original system file settings (permissions, owners, SE context), directory structure can be consistent! Move the corresponding APP file from / data/app / to / system/app. The system aft ...

Posted by Justin98TransAm on Fri, 21 Jun 2019 14:24:50 -0700

Self-encapsulating mobile touch events

Online consulting also refers to a few examples, feeling that some ideas are too cumbersome, and they are also new to the front of the small white (last year), so in order to exercise their own js level, decided to simply encapsulate under their own ideas, including the following functions: Touch Start: Touch Start swipeLeft: Quick left ...

Posted by domainshuffle on Thu, 20 Jun 2019 11:06:09 -0700

Android Low Power Bluetooth Multi-Device Connection and Data Receiving, Simple Implementation

Unconsciously, it's almost two weeks since I worked overtime all night. I haven't worked like that for nearly two years. The reason is a function of the project, Bluetooth multi-connection. The application connects multiple devices at the same time, waits for receiving data, and displays the chart after processing. I haven't done anything abo ...

Posted by sprocket on Wed, 19 Jun 2019 19:20:59 -0700

Json-lib handling when using frameworks such as ajax or easyui

Whether using a framework such as ajax or easyui, the background output of data to the foreground involves JSON processing. Two processing methods are described here, one is to manually configure the JSON processing method, the other is to use json-lib processing method.The general manual configuration method is rather clumsy, and needs to be c ...

Posted by camoconnell.com on Wed, 19 Jun 2019 09:26:14 -0700

Android Custom Animation 1

Android Custom Animation In current mobile products, whether it is app or web pages, a cool page always attracts people's attention for the first time, so for android developers, to achieve a good page, they must master the technology of custom control and custom animation. 1.Android Native Animation Several forms of native animation ...

Posted by ironside82 on Wed, 19 Jun 2019 09:19:19 -0700

Reaction Advanced Series: Detailed Description of Advanced Components (II)

High-order components can encapsulate common logic, pass method attributes to current components, add lifecycle hooks, etc. Case: Some pages in a project need to judge their environment. If they are on the mobile side, they will display the page normally and prompt the user about the mobile side environment of the current page. If they are not ...

Posted by kashmirekat on Tue, 18 Jun 2019 16:25:50 -0700

Video recording parsed by Android Camera module

Android Camera ArchitectureSummary of Interprocess Communication Classes for Android CameraPhoto of Android Camera Module ResolutionVideo Recording with Android Camera Module ResolutionCameraDeviceCallbacks Callback Module of Android Camera PrinciplesopenCamera Module of Android Camera Principles (1)openCamera Module of Android Camera Principle ...

Posted by jshowe on Tue, 18 Jun 2019 10:05:39 -0700

Context Management Applications

Context Management Applications Using React makes it easy to track data streams through React components. When you see a component, you can see which props are being delivered, which makes it easy for your application to know what to do. In some cases, you want to pass data through the component tree rather than props manually through t ...

Posted by stb74 on Mon, 17 Jun 2019 15:50:54 -0700