Audio and video development tour (15) OpenGL ES particle system - Fountain

catalogue Particles and particle systems Practice: fountain effect Problems encountered data harvest Through the practice of this article, the following effects are achieved   1, What are particles and particle systems How to define particles? A particle has position information (x,y,z), motion direction, color, life value (start and en ...

Posted by milind24 on Mon, 02 May 2022 11:20:45 +0300

NearbyService super simple integration tutorial get! Help you create a more convenient social chat application

background "People nearby", "face-to-face group building", "close point-to-point local chat"... These common functions will appear in major social software. But usually, "people nearby" can only find people hundreds of meters or even kilometers away from themselves. How can we narrow this distance and gr ...

Posted by LostinSchool on Mon, 02 May 2022 10:59:12 +0300

The Setter/Getter dispute is a little interesting

During the Code Review these days, I found that a large number of beans in the Model layer are written in different ways. Some classes are open all the way public, while others are closed all the way private. The discussion on this issue was quite exciting, which was really unexpected. Listen to their words, their views are quite reasonable. Cl ...

Posted by ashii on Sun, 01 May 2022 12:15:45 +0300

The usage of Android Notification when sending message notification is compatible with the download of high and low version demo

catalogue   preface 1, Basic notice implementation steps 1. Create a notification channel and set the importance (this 8.0 and above must be set before notification can be provided) 2. Set click notification jump activity 3. Create notification and set icon 4. Display notification 2, Implementation steps of message notification (using ...

Posted by JimStrosky on Sat, 30 Apr 2022 18:07:35 +0300

Android GifImageView loading Gif pictures and its principle

background I saw an interesting moving picture a few days ago. I originally wanted to download it and send it to my friends, but when I sent it on wechat, I prompted that the file was too large. I saw that it was 41M, so I was thinking about how to load such a large gif. So I made a demo to try. Glide As we all know, Glide supports loading g ...

Posted by r3dn3ck on Fri, 29 Apr 2022 12:46:32 +0300

Bluetooth development learning record

Recently, I encountered the business of using Bluetooth to transmit data in the project. I recorded it with a learning attitude, personal understanding, and welcome to leave a message if there are errors or additions. Enough talk, let's get down to business 1. What is Bluetooth Bluetooth is one of the most widely used wireless communication pr ...

Posted by danman252 on Thu, 28 Apr 2022 23:40:57 +0300

Lifecycle of Android Jetpack components

1, Introduction to Lifecycles Lifecycles is a component of Jetpack to solve the problem of life cycle management by monitoring the life cycle. If our class is not an Activity (broadcast \ fragment says otherwise), it has no life cycle. However, in the development process, in MVP mode, we need to call back the View interface in the P layer to u ...

Posted by kujtim on Thu, 28 Apr 2022 22:12:31 +0300

Broadcast receiver and binding service of Android core components

The following is transferred from: http://www.cnblogs.com/yaozhenfa/p/xamarin_android_broadcastreceiver_and_bindservice.html 1, Foreword After studying activities and services, you will find that services seem to be transparent to activities. On the contrary, activities are also transparent to services. Therefore, we also need a mechanism to ...

Posted by vdubdriver on Thu, 28 Apr 2022 01:59:23 +0300

Java promotion - Concurrent Programming

Java-Runnable ,Callable hi, Hello, everyone. I'm a banana loving monkey. I've always wanted to write records about Java threads. I don't know what to write. After reading the thread part of a Book (Java core technology written for busy people), I feel I need to summarize; In Java, the Runnable interface describes a task you want to run: ...

Posted by RossC0 on Wed, 27 Apr 2022 21:57:41 +0300

Theme switching framework implementation

preface I have made a theme switching framework. I'll introduce myself here. Let's see if it's useful. Criticism and correction are welcome. Project address: https://github.com/l0neman/ThemeFramework The following is the readme of the project MD readme file. introduce Android instant theme switching framework The core is that based on ...

Posted by centipede on Wed, 27 Apr 2022 12:33:16 +0300