cordova3.X uses grunt to generate plugin custom plug-in skeleton

  Cordova provides a set of device-related API s through which mobile applications can access native device functions such as cameras, microphones and so on in JavaScript. Cordova also provides a unified set of JavaScript class libraries, as well as native background code for devices used in these libraries.   I. Installation of c ...

Posted by codepoet on Wed, 26 Jun 2019 13:59:06 -0700

android Custom view Ninth Palace Unlocking

android Custom view Ninth Palace Unlocking See the source code for more details. https://github.com/que123567/lockview 1. Define a class as a grid of nine palaces Contains coordinates and indexes (used to record passwords) point contains three states corresponding to three different picture styles of points in different situations pack ...

Posted by rweston002 on Tue, 25 Jun 2019 16:54:13 -0700

Android--An Example Analysis of Ordered Broadcasting--A Case of Intercepting Ordered Broadcasting

Ordered broadcasting is a kind of synchronous broadcasting. Only one broadcasting receiver can receive this message at the same time after the broadcasting is sent. When the logic in the broadcasting receiver is finished, the broadcasting will continue to transmit. Therefore, the broadcast receiver at this time is sequential and can be intercep ...

Posted by cpace1983 on Tue, 25 Jun 2019 15:44:05 -0700

Android Drawing, Canvas Learning Notes

User interface is an important aspect in deciding whether Android applications will be accepted by users. In order to provide a friendly user interface, it is necessary to use pictures in applications. Android system provides rich image function support, including static image processing and animation. Android system provides ImageView to dis ...

Posted by dross613 on Tue, 25 Jun 2019 15:10:12 -0700

Android ViewDragHelper Source Parsing

In the process of customizing ViewGroup, if it involves dragging and sliding of View, the use of ViewDragHelper should be indispensable. It provides a series of auxiliary methods and related status records for user dragging sub-View, such as edge sliding of Navigation Drawer, side sliding menu of QQ5.x, and sliding back of knowledgeable pages ...

Posted by catlover on Tue, 25 Jun 2019 12:41:44 -0700

android Air Conditioning Remote Control - Simple Send Content

Next we went on to research the development of android infrared. In this article, we started with the most open source grid air conditioning code on the Internet. That's good. Say nothing more, start!! 1. First let's get to know the encoding format of Gree Air Conditioning, which is available on the Internet The infrared code of the Gree air ...

Posted by RonHam on Tue, 25 Jun 2019 11:51:04 -0700

MPAndroid Chart uses Demo in Android

Because the AChart Engine provided by Google is powerful but complex to use, MPAndroid Chart can also achieve some better histograms, line charts, pie charts and other drawing, and the use is relatively simple and portable. Introduction to MPAndroid Chart Main Api methods: Set Description (String desc): Set the description of the table S ...

Posted by sagetim on Tue, 25 Jun 2019 11:50:28 -0700

Android Using Serial Communication and Protocol Resolution

Special Statement: Respect for Originality, Link to the Origin: http://blog.csdn.net/junfeng120125/article/details/9328947 1. android Serial Communication Serial communication adopts a third-party open source project to realize serial data transmission and reception. 1. Use http://code.google.com/p/android-serialport-api/ serialport api and ...

Posted by Travist6983 on Tue, 25 Jun 2019 11:11:11 -0700

Use of WebView -- Part 1

I. Combing Knowledge 1. Preface This section brings you a control in Android for displaying web pages: WebView. Now there are two directions for Android application layer development: client development and HTML5 mobile development! The so-called HTML5 end is: HTML5 + CSS + JS to build a web page version of the application, and the intermed ...

Posted by NotMrT on Mon, 24 Jun 2019 16:49:04 -0700

Introduction to Android Lottie Animation Library

At present, there are two main ways to support GIF animation on android: the first way is to make animation into one picture and switch it quickly to form animation effect; the second way is to change animation into json string, parse it using open source library, and then display it to achieve animation effect. Two typical representational lib ...

Posted by Zepo. on Mon, 24 Jun 2019 14:12:16 -0700