Preview of camera+TextureSurface at the beginning of live video

Today, I'll talk about using camera interface and TextureSurface to preview First look at xml: <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com ...

Posted by driverdave on Fri, 06 Dec 2019 03:19:57 -0800

Front end CSS: 4 × CSS small fire to achieve warmth

introduce Original linkThanks comehope Big man's [front end daily battle] Effect preview github.io browse Source code address https://github.com/shanyuhai1... Code interpretation 1. First, complete the html structure <figure class="container"> <section class="stars"></section> <section class="fires"></section&g ...

Posted by neoboffins on Thu, 05 Dec 2019 21:41:53 -0800

You know the six most common layouts for Android development?

There is a good analogy on the Web: Layout is like a frame in a building. Components are arranged in order according to the layout requirements, which makes up a beautiful interface for viewing. Layout type 1. LinearLayout (Linear Layout) A linear layout arranges the child elements (which can be controls or layouts) in a horizontal or vertical ...

Posted by JoCitizen on Thu, 05 Dec 2019 20:27:22 -0800

Mobile custom scroll bar

In the development of mobile terminal, in order to prevent the click through behavior, we sometimes block the default behavior of the browser. At this time, we need to customize the required browser behavior. This article introduces the scroll bar of the customized browser. Default behavior of mobile browser The default behavior of browser m is ...

Posted by jdwmk on Thu, 05 Dec 2019 13:24:15 -0800

Android embedded solution

I. event realization principle: ① View set AccessibilityDelegate ② when the View generates click, long click and other events, it will respond to the original Listener method ③ after the response of the original Listener method is completed, forward the message to the AccessibilityDelegate in the sendAccessibilityEvent method ④ handle the ev ...

Posted by niall_buckley on Thu, 05 Dec 2019 12:02:07 -0800

vue integrates pdfjs to realize pdf file Preview

background The preview of pdf file format is required on the project. Analysis pdf file browser can be opened directly. So you only need to return the file stream of pdf file to preview the file directly. Open in this way, the whole page is full of pdf file content. The requirement is to add a specific title format to the page when ...

Posted by dhcrusoe on Thu, 05 Dec 2019 10:21:39 -0800

Design mode Observer mode Observer

Observer mode, also known as publish / subscribe mode, defines 1-to-many one-way dependency between objects, so that when the target object changes, the observer object can receive messages and process them immediately. One, four elements 1. Target object interface 2. Target object 3. Observer interface 4. Observer object II. Core ...

Posted by jswinkelman on Thu, 05 Dec 2019 06:52:55 -0800

Mobile Gesture Event (Multi-finger Operation)

In mobile development, existing gesture events are only supported by browsers on IOS, so browser gesture events on other devices must be upgraded on touchstart, toucmove, touchend events on the mobile side. Below is a description of the gesture events on the mobile side upgraded. Mobile Touch Events (Basic Events) Touch start - Touch start Tou ...

Posted by Frozenlight777 on Thu, 05 Dec 2019 02:34:43 -0800

#04-HK custom city selection list

04-HK custom city selection list This article is hkzf The series of mobile tutorials aims to help beginners quickly master the project development based on React technology stack through a series of articles. requirement analysis The custom city list is divided into two parts. The left side is divided into three parts: current location, hot ci ...

Posted by Cynix on Wed, 04 Dec 2019 19:29:20 -0800

About the use of MobileSelect.js

MobileSelect.js A mobile terminal linkage plug-in, which supports single selection, multiple selection and multi-level cascade. In general, we use a lot of it to realize non linkage single selection, non linkage double selection and linkage double selection Non linked radio <link rel="stylesheet" type="text/css" href="css/mobileSelect.cs ...

Posted by minds_gifts on Wed, 04 Dec 2019 16:38:38 -0800