Compiling google libyuv so Library
libyuv is Google's Open-Source Library for conversion, rotation and scaling between YUV and RGB. It supports compiling and execution on Windows, Linux, Mac, and other platforms, x86, x64, arm architectures, and SIMD instruction acceleration such as SSE, AVX, NEON.
download
Download address: https://code.google.com/p/libyuv/ ...
Added by DimeDropper on Sun, 05 Jan 2020 14:22:57 +0200
Better Android Toast
Better Android Toast
According to the project experience, Toast, which comes with Android, is packaged into a simpler tool class.
The main features are as follows: to simplify the long-term and short-term Toast calls, and to add a custom View Toast, only one line of code is needed.
Design sketch:
Toast layout.xml file
& ...
Added by davestewart on Sun, 05 Jan 2020 12:24:31 +0200
android viewpager slides vertically and horizontally vertical viewpager plays automatically according to timer
First, let's see how the viewpager is implemented. The custom inherits the viewpager.
I've seen that csdn thinks that it's a good writer. There are many ways to implement it. You can see these blogs
Android ViewPager slide vertically slide vertically viewpager
You can continue to look at this primitive stackoverflow There ar ...
Added by helbom on Sun, 05 Jan 2020 02:47:26 +0200
Android Advanced (IV) Custom Organization Chart-LazyOrgView
LazyOrgView
Simply implement the organization chart by customizing View.A search on the web did not find a similar View, and because of the needs of the project, quickly implemented one to meet the needs of the project.Another way to do this: Google OrgChart or other OrgChart.js.
Source Address
LazyOrgView
Add Dependenc ...
Added by ManOnScooter on Sat, 04 Jan 2020 12:56:51 +0200
Functions provided by logging.h
In this blog, we will analyze the functions provided by logging.h. by referencing this file, you can include < Android base / logging.h >, which is implemented in logging.cpp.
First of all, let's take a look at its comments: it provides an interface of c++ stream, and PLOG will print out specific errors, and it also supp ...
Added by Bobby_Jo on Sat, 04 Jan 2020 03:25:16 +0200
Android docking webService interface
webService interface
In this paper, web service is programmed in Java, and ksoap2-3.6.2.jar is used for Android call.
Download link of jar package: https://pan.baidu.com/s/1mxhf0i3fn86hsza7r7org password: k57x
Such as:
WEB_SERVER_URL = "http://192.168.191.1:8080/WT600WebService/wtwebservice?wsdl";
/ / namespace
...
Added by vahidf on Fri, 03 Jan 2020 11:19:23 +0200
Android practice - set system date time and time zone
Set system date time and time zone
Setting the date, time and time zone of the system requires system permission and system signature. android:sharedUserId="android.uid.system" You need to add the corresponding permissions in the manifest file
<uses-permission android:name="android.permission.WRITE_SETTINGS"/>
<uses-pe ...
Added by spxdcz on Thu, 02 Jan 2020 21:25:17 +0200
Add confusion and precautions before Android application release
Code confusion
Java code is confused with Native code, resource file drawable, xml, etc.
1. Functions: code compression, code obfuscation, resource compression and other optimization processes;
Code compression: obfuscation process removes unused classes, class members, methods and properties from the main project and depend ...
Added by satya61229 on Thu, 02 Jan 2020 20:27:13 +0200
Today's top screen adaptation
Today's top screen adaptation
In a word, summarize the principle of realization:
According to the width of the design drawing, calculate the density, then calculate the dpi, and replace the dpi in the system. Then the layout file can set the width according to the design drawing given by the UI, so as to achieve the purpose o ...
Added by NeoPuma on Thu, 02 Jan 2020 16:39:57 +0200
Personalized control of DatePicker
Focus on personal work acrobatics, personal work QQ: 2686696882
PS: make partial control over the time control of DatePicker and record it for quick use in the future.
First of all, let's talk about the use of DatePicker: (we all know about it, just paste it with code, no longer explain it)
Calendar c = Ca ...
Added by larus@spuni.is on Thu, 02 Jan 2020 15:04:22 +0200