Realization of waterfall flow with native js and Realization of waterfall flow with left and right columns in wechat applet

It is not practical to use css to realize waterfall flow, because the waterfall flow realized in Chaoshan city is arranged in columns. Here, we record the realization of waterfall flow with js and the realization of waterfall flow with left and right columns in wechat applet 1. effect picture 2. Native js realizes waterfall flow html file < ...

Posted by grandman on Mon, 02 Dec 2019 18:22:07 -0800

Android learning case - calculator

The last article talked about the six basic layouts of android: https://blog.csdn.net/qq_40205116/article/details/88418781 This article uses layout to make an android small project (calculator). The effect is as follows (those who wanted to insert video, but found that they couldn't insert video, could only insert pictures. He ...

Posted by russia5 on Mon, 02 Dec 2019 14:32:31 -0800

Network wide MZ200A android device call document

Timing device documentation If you have any questions, please contact qq987424501 Note: the title in bold indicates that special attention should be paid to the following I. cameraSee CameraDemo. You can import cameralib directly and depend on it.II. Card swiping module 1. Module typenfc (there are many articles about n ...

Posted by morpheuz on Mon, 02 Dec 2019 14:25:09 -0800

Audio playing one

I. simple audio playing [project preparation] ① a video file, the location of the video file ----- > create a new folder under res row ----- > put the video in the row folder ② generally speaking, audio playback does not need to stay in the interface all the time, so audio playback should be placed in the service, even if the inter ...

Posted by Stressed on Mon, 02 Dec 2019 10:33:27 -0800

About ION's Library in Android

In the Android.mk file of Qualcomm's OpenCL SDK, you can judge the current kernel version. If it is greater than 4.12, then use library.so. Otherwise, use ion kernel UAPI: # Tries to determine whether to use libion or ion kernel uapi KERNEL_VERSION = $(shell ls kernel | sed -n 's/msm-\([0-9]\+\)\.\([0-9]\+\)/-v x0=\1 -v x1=\2/p') USE_LIBION = $ ...

Posted by whare on Mon, 02 Dec 2019 10:21:42 -0800

angularjs http and background interaction

1. description Whether using angularjs as the front-end or combining with ionic to develop mobile app, it needs to interact with the back-end, and angular provides httpModule module for us to use. Today we will show a specific process of encapsulation and use of http. 2. HttpModule introduction Find the app.module.ts file import { NgModule, Err ...

Posted by aswini_1978 on Sun, 01 Dec 2019 18:50:20 -0800

Simple use of VirtualAPK

Steps to introduce VirtualApk: I. Introduction of virtual APK to host application 1. Add dependency in the build.gradle file of the project: dependencies { classpath 'com.didi.virtualapk:gradle:0.9.8.6' } The complete gradle file is as follows: // Top-level build file where you can add configuration options common to all sub-projects/module ...

Posted by darksniperx on Sun, 01 Dec 2019 14:38:17 -0800

Android development sets various properties of linear layout and relative layout RelativeLayout in the code

1. In the first case, I do not define the xml layout file at all. The layout file is completely written in the Java file. The code is as follows: import android.annotation.SuppressLint; import android.graphics.Color; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import and ...

Posted by Cateyes on Sun, 01 Dec 2019 13:50:18 -0800

RecyclerView -- give you a non-card sliding list

https://www.jianshu.com/p/519bb23987ca   What will you learn after reading this article? RecyclerView adds a head, a tail, or a view somewhere in the list list RecyclerView+SwipeRefreshLayout for drop-down refresh Paging Load Data List optimization scheme Use Glide to load pictures, press the back key while sliding, and App c ...

Posted by severndigital on Sun, 01 Dec 2019 12:02:03 -0800

JNI layer Bitmap to OpenCV Mat

JNI layer Bitmap to OpenCV Mat Most of the image types provided by Java are Bitmap types (ARGB? 8888 or RGB? 565) If you need to use OpenCV for processing, you need to convert Bitmap to cv::Mat. Suppose the input picture is: Job object obj? Bitmap The output picture is: Job object obj ﹣ bitmapout #include <android/bitmap. ...

Posted by xdentan on Sat, 30 Nov 2019 19:37:59 -0800