7.0 Compatible Camera Album Use

scene Many applications have the requirement of setting up the next avatar, which requires camera album. But when 6.0, run-time privilege detection is added. When 7.0, it restricts the building of shared files in the application, which is the file://URI used in the previous camera album can not be used. Because in applications 7.0 and above, ...

Posted by ryanbutler on Sat, 08 Jun 2019 02:31:56 +0200

Water ripple effect-Ripple

When it comes to water ripple effects, we need to talk about Ripple. Since Android 5.0, google has introduced a set of UI design language material design, commonly known as material design. One of the most intuitive effects is ripple effect (ripple effect), that is, clickable controls will have a wave effect. The effect is Ripple Dirawable ...

Posted by dmrn on Sat, 08 Jun 2019 00:55:29 +0200

Thumb Bar Hand Tour MixSDK Access Instructions - Android

Thumb Bar Hand Tour MixSDK Access Instructions - Android Catalog 1. Relevant configuration + 1-1. Download SDK + 1-2. Environmental Construction + 1-3. Configure Android Manifest. XML + 1-4. Configure config.properties 2. Code Implementation + 2-1. Initialization of SDK + 2-2. Login + 2-3. Payment + 2-4. Suspension ...

Posted by benjy on Thu, 06 Jun 2019 00:54:47 +0200

How to Use FastJSON, Gson and Jackson to Customize Time Serialization

Java processing JSON data has three popular class libraries FastJSON, Gson and Jackson. Jackson Jackson is maintained by its community, simple to use and relatively high performance. But for complex bean s to transform Json, the format of the transformation despises the standard Json format. PS:Jackson built-in Json parsing tool for Spring ...

Posted by adammo on Wed, 05 Jun 2019 20:20:51 +0200

Semaphore (dispatch_semaphore_t) - Implement multiple requests for one page

Goal: Achieve multiple requests for one page We often encounter situations where, for example, there are multiple interfaces in the data display of the user interface, and the page is displayed when our data request is complete.What should I do now?Or what do we do when the interfaces inside go from one layer to another (for example, we need to ...

Posted by thecard on Wed, 05 Jun 2019 18:32:40 +0200

Source Code Analysis of cocos2d-x CCScrollView

Original address: http://blog.csdn.net/u011225840/article/details/30033501 1. Inheritance tree structure You can see that CCScrollView is essentially a kind of CCLayer with all the properties and methods of the layer.Source analysis for CCLayer will follow. 2. Important Members  1.  CCScrollViewDelegate* m_pDelegate; In ...

Posted by rbama on Tue, 04 Jun 2019 00:48:07 +0200

DataBinding used by Android MVVM

1. Overview MVVM is short for Model-View-ViewModel.Microsoft's WPF brings new technological experiences such as Silverlight, Audio, Video, 3D, Animation...This results in a more detailed and customizable software UI layer.At the technical level, WPF also brings new features such as Binding, DependencyProperty, RoutedEvents, Command, DataTe ...

Posted by lafflin on Mon, 03 Jun 2019 23:16:39 +0200

Vue-hot-reload-api source code parsing

Vue-hot-reload-api source code parsing cause In recent years, the hot loading scheme of san framework is naturally necessary to learn from mature framework (peeping). Hot loading schemes are basically done by mainstream frameworks, and they are relatively mature. Most application developers will not be exposed to this part of things, so the cor ...

Posted by host78 on Sun, 02 Jun 2019 21:43:39 +0200

Custom View Implements SeekBar Point Value Selection Effect (1)

These days when I read the code of Google's native CameraApp, what I have to say is the complexity of the real TM, especially the logical processing part. About the native CameraApp of google, which may be written as a new series in the future, today I mainly introduce the implementation of a custom View that I see online!! Still the old rule ...

Posted by yeshuawatso on Sun, 02 Jun 2019 18:21:28 +0200

python crawler - Selenium library from scratch

What is the Selenium library? Automated testing tools, support a variety of browsers. Support browsers include IE (7, 8, 9, 10, 11), Mozilla Firefox, Safari, Google Chrome, Opera, etc. The crawler is mainly used to solve the problem of JavaScript rendering. Used to drive the browser and give the browser action. Install the Selenium library: ...

Posted by zippers24 on Wed, 29 May 2019 19:48:38 +0200