Processing of multiple AIDL files connected by a Binder connection pool
Processing of multiple AIDL files connected by a Binder connection pool
Note beforehand:
I am also a beginner, so this article starts from a beginner's point of view, if there are inappropriate places, please leave a message to teach me, thank you.
If you don't understand the use of AIDL and the Binder mechanism, you can refe ...
Posted by coder4Ever on Sat, 13 Jul 2019 18:19:49 +0200
Introducing and configuring MultiDex and improving build efficiency
MultiDex
Recently, optimize upgrade project, finally reported the 64K method limit problem, and record the solution conveniently;
Reasons for 64K limit
The Android APK file is essentially a compressed file that contains the classes.dex file, an executable Dalvik byte code file that holds all the compiled Java code.The Dalvik executable sp ...
Posted by goldberg on Fri, 12 Jul 2019 20:02:07 +0200
Problems encountered in the use of EventBus
Speaking of EventBus, I think everyone is familiar with it. You haven't heard of it. Well, you still need to study it carefully. This blog is not to analyze the source code of EventBus, nor to talk about any philosophy of life, but to teach you how to use such a magic weapon. Who will ask you if EventBus will use it in the future? You can sho ...
Posted by treppers on Mon, 08 Jul 2019 01:37:09 +0200
Gradle's Seller Show and Buyer Show
Most people have experienced high school, it is not difficult to find that 650 points in the college entrance examination and 450 points in the book list are basically the same, why?
This is often not because they are exposed to more information, but because they deal with information in a different way. They are often good at collating inf ...
Posted by Kurt on Sun, 07 Jul 2019 21:59:54 +0200
Mall Project Actual Combat | 3.1 Android Image Slider Implementing Cool Roadcasting Advertisement
This article is a serial of Liu Ting, the author of the rookie nest. Shopping Mall Project Actual Warfare Series to talk about how to achieve the imitation of "Jingdong Taobao Shopping Mall".
Android Image Slider is a fantastic and convenient Android image scrolling framework, which we will use to achieve cool rotation advertisi ...
Posted by damdempsel on Sun, 07 Jul 2019 20:50:42 +0200
Code compression confusion and Packaging Optimization for Android ProGuard
Preface
This is an actual Demo exercise for sharing only. Please give it to Star if you like.
demo link: https://github.com/AnyLifeZLB/AndroidAppFrameWork
Why start ProGuard (all trials are in AS environment)
Code compression is provided through ProGuard, which detects and removes unused classes, fields, methods, and attributes from encapsulati ...
Posted by blindtoad on Sat, 06 Jul 2019 19:02:04 +0200
Submit a pitless version of library to jcenter (no pit expiration date: tentative end of 2017)
Step 1: Log on to Bintray.com
Step 2: Register (pit 1: click sign up here, don't click on the big green button, otherwise fall into the pit; pit 2: registered mailbox qq q and Netease can't, outlook can)
Step 3: Click edit
Step 4: Click on key
Step 5: Enter the login password
Step 6: Click on the item (copy button) and temporarily ...
Posted by moiseszaragoza on Thu, 04 Jul 2019 21:16:39 +0200
Dagger2 Foundation and Advancement
Preface
Dagger2 relies on an injection framework to reduce program-to-program coupling and prevent potential systemic problems.
In addition, it has many advantages:Increase development efficiency and eliminate repetitive simple manual labor
The process of starting a new instance is a repetitive and simple manual effort, and dagger2 can do ex ...
Posted by expert_21 on Thu, 04 Jul 2019 20:45:33 +0200
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 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