How to add click sound to buttons

preface Many well-made apps have their own click sound effect, so how to achieve this effect simply is a concept called SoundPool , this class is mainly used to play some smaller audio files, because it is more convenient, usually used in the game more. code Without much gossip, we need to do a function now, ...

Posted by icedude on Sat, 23 May 2020 09:28:01 -0700

WebApiClientCore usage instructions

Preface I am WebApiClient The author of the library, who is currently developing his version of.netcore, after sorting out his readme, think about how this might be useful for everyone, and perhaps give WebApiClient More people, so I'll post readme here as a blog. WebApiClientCore WebApiClient.JIT The.netcore version of HttpClient, a declar ...

Posted by hexguy on Fri, 22 May 2020 18:01:02 -0700

Theme color for dotnet OpenXml SDK shape fill gradients

In some interesting designs of Office documents, colors and brushes are inheritable, and this inheritance includes inheritance of attributes.Gradient colors used in shape filling are properties that can be put into a theme. The brush inside the theme is mainly found, replacing the content defined by the shape itself, which is the brush of the s ...

Posted by phpstuck on Thu, 21 May 2020 20:28:00 -0700

Flitter cross platform chat instance

FlutterChat It's based on flitter + dart + Photo_ view+image_ Practical cases of wechat like interface App developed by picker and other technologies. It realizes the functions of message + expression, picture viewing, pop-up window encapsulation, red packet / video / friend circle, etc. Framework technology Coding / Technology: vscade + fl ...

Posted by amavadia on Wed, 13 May 2020 11:21:47 -0700

[comics] JAVA Concurrent Programming ReentrantLock of J.U.C Lock package

Original statement: This article comes from the official account [fat pig programming]. Please indicate the source. stay How to solve the atomicity problem in JAVA Concurrent Programming Finally, we sold a key. Mutex not only has synchronized keyword, but also can be implemented with Locks package in J.U.C. and it is very powerful! Let's find o ...

Posted by chet23 on Tue, 12 May 2020 10:28:12 -0700

Qt Open Source Works 6-Universal Video Control

1. Preface In the previous video monitoring system, according to the needs of different users, many kinds of video monitoring cores have been made, including ffmpeg cores, vlc cores, mpv cores, and Haikang sdk cores. In order to make a common function, different cores are very convenient to switch, such as pro changing the variable name of DEFI ...

Posted by jimdavidson on Sun, 10 May 2020 18:09:31 -0700

YII2.0 access to Alibaba cloud OSS object storage

After searching for half a day's data, we finally managed to connect YII2.0 to OSS object storage. It is assumed that you have installed YII2.0, and you have installed compose. Step 1: install the OSS object component (i.e. the PHP API of OSS) console, enter the root directory of YII2.0, input: composer require aliyunc ...

Posted by webosb on Thu, 07 May 2020 08:59:56 -0700

Secondary development of UAV SDK based on Dajiang

Secondary development of UAV SDK based on Dajiang In the near future, the company needs to develop a mobile APP based on the Dajiang UAV SDK to cooperate with the background to realize the management of UAV. Of course, Dajiang itself also provides us with a management platform --- Dajiang Sikong. Through the official APP of Dajiang and the back ...

Posted by n00byboy on Thu, 07 May 2020 01:28:29 -0700

Android iFLYTEK voice dictation SDK quick access (with null pointer to solve and modify dialog text method)

1. Account preparation First of all, we need to have a iFLYTEK account to prepare for APPID, APPKey and other applications. By the way: iFLYTEK opens to users of different authentication types The number of times you use the SDK is different, as shown in the following figure. After the account application is completed, you need to go to your ...

Posted by prexep on Tue, 05 May 2020 15:38:30 -0700

A Device Online Notification Scheme for Century Interconnected Azure IoT Hub

This paper describes a scheme for getting device online notifications for Century Interconnected Azure IoT Hub.   Video Introduction: You can watch the video introduction at Station B: https://www.bilibili.com/video/BV1dp4y1X7X3/ Or watch it on the author's blog: https://www.51azure.cloud/post/2020/4/30/azure-iot-hub-device-on-line-report      ...

Posted by MannyG on Tue, 05 May 2020 03:03:33 -0700