android ijkplayer c layer analysis-initialization

Originally, I didn't want to write the initialization process. I think there are many articles on the Internet to analyze. But in the whole process of analysis, it is revealed that some problems are not well understood, so it is necessary to do it once.The first is the java layer: private void initPlayer(IjkLibLoader libLoader) { loadLi ...

Posted by curb on Mon, 08 Apr 2019 21:42:32 -0700

Two-dimensional code generation 2

Last article Two-Dimensional Code Generation This paper introduces the simple application of generating two-dimensional codes through the class library ThoughtWorks.QRCode.dll, and makes a simple encapsulation of the class library ThoughtWorks.QRCode.dll. Based on the last modification, the user-defined head image or icon can be added in the mi ...

Posted by PureDrive on Mon, 08 Apr 2019 00:24:31 -0700

EasyPlayer Android Streaming Media Player Implementing Client Snapshot in Live Broadcasting

This paper refers to: http://blog.csdn.net/jyt0551/article/details/56942795 For a bare RTSP URL, it is slightly monotonous and boring to store it on the playlist. You can see that EasyPlayer saves a picture to the list after playing the video. So how does this function work? If you decode by yourself, such as using ffmpeg decoding, in thi ...

Posted by lmninfo on Sun, 07 Apr 2019 14:33:30 -0700

Relevant Methods of JS Strings

Reprinted to: http://blog.csdn.net/liuyan19891230/article/details/50687527 1. Character Method charAt() and charCodeAt(), both methods accept a parameter and a character position based on 0. charAt() returns a character at a given location, and charCodeAt() returns a character encoding of a character at a given location. One method ...

Posted by pixelgirl on Sun, 07 Apr 2019 11:15:31 -0700

Deep and Shallow Copy-File Operation

I. Deep and Shallow Copies Shallow copy: Copy the first layer (top-level object), or parent object Deep copy: Copy all objects, top-level objects and their nested objects, or parent objects and their children # Copy one copy at a time (but not because of small datapools) v1 = 'alex' import copy v2 = copy.copy(v1) print(id(v1),id(v2)) ...

Posted by imran.rajani on Sun, 07 Apr 2019 04:33:30 -0700

Go 1.8rc3 source code learning: token

Preface token package contains data structures and methods related to golang lexical analysis. The source code is located in <go-src>/src/go/token. token.go The comments in the source code are great! Token type Token is the set of lexical tokens of the Go programming language type Token int tokens The list of tokens(token ids) const ( ...

Posted by Andrew W Peace on Sat, 06 Apr 2019 20:27:31 -0700

Hands teach you how to write crawlers with. NET Core

Written in front Since the last project 58HouseSearch After the migration from. NET to. NET core, it took a month to officially launch the new version.Then recently a new pit was opened and a new pit was built. Dy2018Crawler Film resources used to climb dy2018 Film Paradise. Here is also a brief introduction to how to write a crawler based on. ...

Posted by Adam W on Sat, 06 Apr 2019 19:54:29 -0700

Advanced UI-RecyclerView Header and Tail Adds

In ListView, you can add the head and tail, and the method is very simple. You can call listview.addHeaderView(view); and listview.addFooterView(view); directly, but there is no such method in RecyclerView, so how to use this method in RecyclerView? This is the point of this article. principle Looking at the source code of Lis ...

Posted by jaku78 on Sat, 06 Apr 2019 13:06:31 -0700

Detailed explanation of service based on android

Basic usage of Service The most basic usage of Service is how to start a Service. The way to start a Service is very similar to how to start an Activity. We need to use Intent to implement it. Let's look at it through a specific example. public class MyService extends Service {          public static final String TAG = "My ...

Posted by animedls on Wed, 03 Apr 2019 20:00:34 -0700

Classical Crawler Learning-Traditional request Module Implements Three Different Ways to Simulate Landing on Renren Network (Elite)

This case simulates the landing of Renren in three different ways. It is a classic case of traditional simulated landing. Readers are invited to consult it carefully. Setting session to simulate login Include cookies in headers for simulated Login Simulate login by specifying cookies separately 1. The method of setting ses ...

Posted by Telemachus on Wed, 03 Apr 2019 16:45:29 -0700