WeChat Third Party Platform Web-wide Publishing Detection

First thanks easyWechat Author, provides a very useful SDK! Next thanks Feishan Snow Leopard Although I took a lot of detours after reading this post (I was too foolish), without this post, I just looked at the WeChat documents and had no idea at all. Finally, greet the author of the WeChat document!!! WeChat posted the detected documen ...

Posted by renesis on Fri, 03 Apr 2020 18:22:05 -0700

Summary of okhttp 3.4.2 interceptor

I wrote one in 16 years Simple configuration of RxJava+Retrofit+OkHttp combination in network request , this article can be used as a supplement to it. As an important member of the okhttp interceptor, if we make good use of it, we will get twice the result with half the effort. First, let's look at the interceptor's core inte ...

Posted by krio on Fri, 03 Apr 2020 15:19:38 -0700

[IOS learning] message forwarding and its practical application

Message forwarding is applicable to the implementation of operations to another class -(NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector   {       NSMethodSignature *signature = [super methodSignatureForSelector:aSelector];       if (!signature) {           signature = [self.displayLabel methodSignatur ...

Posted by thenewguy on Fri, 03 Apr 2020 10:51:23 -0700

Android ListView Selection Center zoom in (use up and down key control, not touch screen)

Recently, there is a function machine project (not supporting touch screen) that needs to realize the effect of enlarging the selected items of ListView in the middle. On the network, most of them are the effect of sliding the screen by hand, and only one can be written by themselves. The effect is achieved, but there ...

Posted by kristinac on Fri, 03 Apr 2020 03:25:49 -0700

Use and configuration of highcharts

Introduction: Highcharts series software includes Highcharts JS, Highstock JS and Highmaps JS, which are HTML5 chart libraries written in pure JavaScript. All the source codes are open, and can be used and edited for personal and non-commercial purposes. Chinese network addresshttps://www.hcharts.cn/docs/start-introduc ...

Posted by rlelek on Fri, 03 Apr 2020 02:28:57 -0700

Base64 encoding small icon

First, what makes Base code? Base64 is one of the most common encoding methods used to transmit 8Bit bytecode on the network. Base64 is a method based on 64 printable characters to represent binary data. Base64 encoding of a picture is a picture represented by a binary string, Such as: The Base64 encoding of is: ...

Posted by mcl on Thu, 02 Apr 2020 17:58:15 -0700

AOP object oriented section programming: Taobao Jingdong network processing

AspectJ: a facet oriented framework 1.1 download: http://www.eclipse.org/downloads/download.php?file=/tools/aspectj/aspectj-1.8.13.jar 1.2 direct installation 1.3 create a new application and add configuration in build.gradle: copy the complete code here apply plugin: 'com.android.application' import org.aspectj.bridge.IMes ...

Posted by fodder on Thu, 02 Apr 2020 16:40:18 -0700

Use HttpURLConnection to load pictures

There are the following fragments for the code of caching pictures to mobile phones Let's first look at the input stream code protected Bitmap doInBackground(String... integers) { //Load the network picture, get a Bitmap object and return to Bitmap Bitmap bm = null; try { ...

Posted by darknessmdk on Thu, 02 Apr 2020 10:10:49 -0700

Operation mode of Retrofit2 under Kotlin project

Add dependency: Establish entity class to obtain network return data Describe the interface of the network request get mode: Post mode: Action to initiate request: Reference blog: http://blog.csdn.net/carson_ho/article/details/73732076 GitHub address: https://github.com/yangtianfu2018/Retrofit2Project Code ...

Posted by skiingguru1611 on Wed, 01 Apr 2020 17:36:14 -0700

[Xiaobai forced] Android voice recording and playback processing -- Audio

AudioH Android voice recording and playback processing, based on mediaplayer and MediaRecorder Realization function 1. Realize Android voice recording function (currently, the package only supports AMR format); 2. Realize Android voice playback function (handset and speaker playback); 3. Realize the caching of netw ...

Posted by vboctor on Wed, 01 Apr 2020 01:46:09 -0700