Android's function of imitating friends to circle and talk
This demo uses Qiniu to upload pictures and videos.
If you don't want to see it, you can drag it to the bottom and download it from my github.
Step 1:
build.gradle imports:
compile'top.zibin:Luban:1.0.9'//luban for image compression
compile 'com.android.support:design:25.3.1'
compile'com.qiniu:qiniu-android-sdk:7.2. +'//Qiniu
Co ...
Posted by Imagine3 on Thu, 04 Jul 2019 00:20:28 +0200
Android payment access to Alipay payment and WeChat payment
Put the official document addresses into the two payment platforms first.
Official Document Address of Wechat Payment
Alipay pays official document address
Alipay official demo download
Wechat official demo download
Alipay payment
Importing Development Resources
1. put the jar package alipay-sdk-common/alipaySdk-xxxxxxxx.jar in Alipay ...
Posted by teongkia on Wed, 03 Jul 2019 21:37:32 +0200
ScrollView in react native
1. Introduction to ScrollView (official explanation): ScrollView is a general scrollable container in which you can put multiple components and views, and these components do not need to be of the same type. ScrollView can not only scroll vertically (default), but also horizontally (set by the horizontal attribute).
2. ScrollView common attr ...
Posted by Dragoa on Tue, 02 Jul 2019 21:27:35 +0200
Real-time Navigation of Gaud Map
A summary of previous articles Gaud Map Picking Place And then, on this basis, we continue to summarize. Route Planning of Gaode Map Today, we will summarize the real-time navigation of Golden Map on this basis. If you haven't read the previous article, I suggest you know it first, otherwise you may not understand it very well.
In fact, real- ...
Posted by jeremywesselman on Tue, 02 Jul 2019 20:08:42 +0200
Android Runtime Access - Permissions Dispatcher
Some time ago, when I was writing and playing, I used a positioning library, but I always failed to get the location successfully. Instead, I changed my mobile phone and got it again. Considering that the version of two mobile phones can not locate is 6.0, and the other is 4.4, so there should be no permission. This is true when you look at th ...
Posted by gte604j on Mon, 01 Jul 2019 22:36:17 +0200
Bluetooth module of android uses hexadecimal data to send
A Bluetooth module looks small, but it's still a bit complicated. I found a sample code from the Internet, http://blog.csdn.net/vnanyesheshou/article/details/51554852, but it can't be used directly. It needs to be read, understood and modified by myself before it can be used.
First paste a homemade uml map:
It is not difficult to see from t ...
Posted by jwmessiah on Mon, 01 Jul 2019 21:48:19 +0200
Notes on Android's Asynchronous Message Processing Mechanism
Label (Space Separation): Uncategorized
Study Android's asynchronous message processing mechanism and take notes.
First of all, I read Guo Lin's article. The Android asynchronous message processing mechanism is fully parsed, giving you a thorough understanding of the source code perspective
Processing flow:
After reading it, I summari ...
Posted by Gazan on Mon, 01 Jul 2019 21:17:44 +0200
Detailed explanation of Leak Canary principle
Memory leak is one aspect of performance optimization that must be paid attention to. Leak Canary is an excellent tool for discovering memory leak. Today we will analyze how it works inside.
Let's start with a few questions:
When LeakCanary is integrated and installed on mobile phones, you will find that there is an additional LeakCanary icon ...
Posted by dudeddy on Mon, 01 Jul 2019 20:13:20 +0200
Java Thread Source Parsing
Thread Source Parsing
Thread method is mostly used by Native, which does not allow application layer modification. It is the most basic unit of CPU scheduling. Thread resource overhead is relatively small relative to process overhead, so we generally create thread execution, not process execution.
Thread Construction Method
/**
* Initi ...
Posted by craigbabe on Mon, 01 Jul 2019 01:52:13 +0200
Android web view loads html pictures and adapts the screen size of mobile phones & click to view the big picture
In our development, when displaying the details of information, the background usually gives the html text, and the android side usually uses the webview control to display it. But the html text given by the background is usually used for the computer side, and there is no self-adapting mobile phone, which leads to the display of the picture o ...
Posted by laknal on Sun, 30 Jun 2019 22:08:05 +0200