CardView Easily Implements Round Corner Card Effect

When you see the above effect, you will think of letting the artist cut a round corner picture with imageview, which is also a way to achieve, it is more convenient to achieve, and do not need to do any compatible adaptation; in fact, android system provides CardView control, which is also very convenient to achieve, but also can achieve som ...

Posted by webref.eu on Sun, 02 Jun 2019 14:36:46 -0700

Android Registered Media Keyboard Monitor (MediaSession Compatible with Android 5.0+)

Use scenario description: When music needs to be played in applications, there is usually an urgent problem: media focus; if you play music with your own application at the same time with QQ music, who can respond to the media button? It depends on who finally applied for the focus. First let's see how to request focus, register media ...

Posted by cruz610 on Sun, 02 Jun 2019 12:49:38 -0700

Hardware Layer for Android Optimization

More and more animations in the project, more and more effects lead to the application performance is getting worse and worse. How to improve. brief introduction Every frame needs to be redrawn in the process of viewing animation. If you use view layers, you don't need to redraw every frame, because View rendering can be reused once it le ...

Posted by vlcinsky on Sat, 01 Jun 2019 11:25:49 -0700

HTTPS Principle and OKHTTP Support for HTTPS

HTTPS principle Let's first look at the definition, an introduction from wikipedia: HTTPS (also called HTTP over Transport Layer Security (TLS), HTTP over SSL, and HTTP Secure) is a communications protocol for secure communication over a computer network which is widely used on the Internet. HTTPS consists of communication over Hypertext Tran ...

Posted by comicrage on Fri, 31 May 2019 17:22:45 -0700

Builder Design Modes for Design Modes

This is the second in the series of design modes - Builder Design Modes. I want to push forward a series of articles, try to keep the same writing style, try to explain my understanding clearly. About the Builder Design Modes, we mainly learn from the following aspects, as follows: Summary essence Key concepts Specific implementation summary ...

Posted by MemphiS on Thu, 30 May 2019 09:12:52 -0700

Summary of MySQL nested queries

(1) In the SQL language, a select-from-where statement is called a query block, and a query block is nested in where or having of another query block, which is called nested query. (2) Creating three data tables CREATE TABLE `person` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(25) DEFAULT NULL, `sex` varchar(45) DEFAULT NU ...

Posted by jdashca on Wed, 29 May 2019 11:08:41 -0700

Android WebView opens Alipay payment and QQ temporary conversation

Recently, two functions will be implemented in the project: 1: click on the H5 link to open the local Alipay to pay. Second: Click on the H5 button to open the local QQ for temporary conversation. Speaking of the idea of function realization, the two functions are actually implemented in the same principle, but there are some differences in ...

Posted by r2ks on Sun, 26 May 2019 15:41:47 -0700

Android Fragment Details (I)

Fragment Details (II) Fragment Details (II) 1. Basic concepts 1) What kind of ghost is it and what's its use? Answer: Fragment can make your app enjoy silky design. If your app wants to improve its performance substantially and reduce its memory usage, the same interface Activity takes up more memory than Fragment, and the response speed of Fra ...

Posted by hunna03 on Sat, 25 May 2019 14:57:03 -0700

Android Wechat Login, Sharing, Payment

Reproduction requires well-known sources: http://blog.csdn.net/lowprofile_coding/article/details/78004224 Previously, I wrote the first edition of Weimai Login Sharing Payment: http://blog.csdn.net/lowprofile_coding/article/details/48086381 Preface Most app s have the need to access third-party sdk s. For example, third party login requires acc ...

Posted by witold on Fri, 24 May 2019 17:09:06 -0700

Bootstrap Framework Introduction to Birds

  Bootstrap beginner's introductory course     Introduction to Bootstrap Bootstrap, from Twitter, is currently the most popular front-end framework. Bootstrap is based on HTML, CSS, JAVASCRIPT. It is concise and flexible, which makes Web development faster. I. Grid System ...

Posted by NoobPHP on Fri, 24 May 2019 14:27:13 -0700