Chat Realm, Mobile Cross-Platform Database

Author|Qian Kai Almond Mobile Development Engineer, former Embedded Engineer, focuses on the new trend of big front-end technology. During the development of Almond App, we tried out the very popular mobile database, Realm, in relatively independent modules, which is challenging and surprising.Following is an example of iOS(Obj ...

Posted by JDcrack on Sun, 28 Apr 2019 10:00:36 -0700

Android Mobile Phone Developed by Android BLE Communicates with BLE Terminal

                This article comes from http://blog.csdn.net/hellogv/ The citation must indicate the source! Recently, wearing equipment has developed rapidly, bringing the related technology to a boom, one of which is BLE.( Bluetooth Low Energy ) BLE is the core Profile of Bluetooth 4.0. Its main function is fast search, fast ...

Posted by lar5 on Wed, 24 Apr 2019 13:09:35 -0700

ExoPlayer is simple to use

I. Introduction ExoPlayer is an application-level media player project of google Open Source, which includes ExoPlayer library and demo, github address: https://github.com/google/ExoPlayer. Two. Overview The core of the ExoPlayer library is the ExoPlayer interface. ExoPlayer exposes the functions of traditional high-level media play ...

Posted by DrTom on Tue, 23 Apr 2019 18:03:35 -0700

Sticky Footer

Write it first: Sticky Footer is a layout scenario for css. The footer footer is always fixed at the bottom of the page. When the content of the page is not long enough, the footer sticks to the bottom of the window. When the content is long enough, it will be moved downward. Because the content of the old portal is too short, the copyright f ...

Posted by d22552000 on Tue, 23 Apr 2019 14:36:34 -0700

Android Custom Control 1--EventParser

Zero, preface Custom View s often deal with events, but that event object feels troublesome to use. I intend to write an event resolution class to assist in event analysis. The functions include: 1. Click Listen: Callback - > Outgoing Point (Type PointF) 2. Lift monitoring: callback - > finger lift point (type PointF), moving directio ...

Posted by Arenium on Tue, 23 Apr 2019 09:27:34 -0700

Android ScrollView monitoring

With the rapid development of the mobile internet, it has been closely related to our lives. Many people can be seen in the bus and subway looking down at their mobile phone screens. From then on, the word "bowing tribe" came into being. As a developer of the mobile industry, I am also a "bowing tribe". I read the news on ...

Posted by jburfield on Mon, 22 Apr 2019 22:30:36 -0700

Bluetooth BlueTooth Low Energy (BLE)

BLE:(Bluetooth low energy) Bluetooth 4.0 device is also called BLE because of its low power consumption. peripheral,central: peripheral and central device, the device that initiates the link is central (generally referred to as mobile phone), and the device that is linked is peripheral (sports bracelet) service and characteristic: Ea ...

Posted by datona on Sun, 21 Apr 2019 15:42:33 -0700

Wechat Public Number Using java Central Control Server-Implementing User Web Page Authorization and Obtaining JS-SDK Privileges

1. Web page authorization refers to the user clicking on the custom menu in the Wechat Public Number to obtain authorized user information in the open page, which can be used to achieve login-free. The following figure shows the address that needs to be opened by the user, where redirect_uri = points to the address that you really want to jum ...

Posted by GeorgeMoney on Sun, 21 Apr 2019 13:57:33 -0700

Linux Network Programming--tcp Server

First, what are the requirements for being a TCP server? 1. Having a known address (bind(): the equivalent of knowing the number of mobile customer service clearly before we can call them; 2. Let the operating system know that it is a server, not a client (listen()): equivalent to mobile customer service, their main responsibility is to p ...

Posted by khaine on Sun, 21 Apr 2019 13:06:34 -0700

Implementation of Android System Level Suspension Button

Specific needs 1. Make a system-level suspension button, just like the effect of the suspension button on the desktop of the iPhone, which can be dragged at will, and the suspension button will automatically pull aside as soon as the hand is released. 2. It can be clicked and dragged at will. 3. When the suspension button comes to the edge au ...

Posted by praxedis on Sat, 20 Apr 2019 22:00:34 -0700