-
Androidflux-Asynchronous requests and networks
In mobile development, asynchronous network operations are essential, and this article focuses on how to handle asynchronous operations in the flux pattern and drill down into details such as how to display asynchronous states in asynchronous operations. In addition, network operations are only one of the asynchronous operations, and finally extend the semantics of Actioncreator to handle more business logic.
-
Tricking Android Memoryfile
Memoryfile is a set of frameworks that Android introduced at the very beginning, which actually encapsulates the unique memory-sharing mechanism of Android Ashmem Anonymous shared memory, which simply means that Ashmem is registered as a special character device in the Android kernel, The Ashmem driver uses the memory requested here in the user process by initializing a memory area in a custom slab buffer in the kernel and then mapping the requested memory to the user's process space through mmap (via TMPFS).
-
Eventbus 3.0 of the use of the explanation
See the questions about Android, some of them can be solved with eventbus, and quite a lot of people recommend the use of Eventsbus, because it and Greendao from a company, and use it very simple, So now a lot of Internet apps use Eventsbus for message delivery. Based on this, there are many Eventbus articles, written very good, but because Eventbus has been out of the 3.0 version, and most of the domestic translation just stay in the 2.4 version around, for those who have just contact with Eventbus, from the latest version of contact learning, is the most ideal learning route.
-
Android Development Practice: ANDROID.MK Templates
The article about the development of Android NDK has been more, my blog also shared a lot of NDK development related experience and skills, today simply wrote a android.mk sample template for beginners reference. This template mainly gives you some examples of the following issues in the development of Android NDK: 1. How to automatically add a list of source files that need to be compiled 2. How to add a third-party static library, dynamic library dependency 3. How to construct a complete NDK engineering framework
-
Gradle for Android Series
If you are a novice Android developer, or a novice who has switched from Eclipse to Android studio, I strongly recommend that you follow my article, as seen on the cover page, using the Gradle build tool to automatically build your Android project. Don't say much nonsense, let's go straight ahead.
-
How to choose Compilesdkversion, Minsdkversion and Targetsdkversion
When you post an app, (depending on the specific release time) it may not be a few months before the Android system releases a new version. What does this mean for your application and everything is useless? Don't worry, forward compatibility is something that Android is very concerned about. When users upgrade to the new version of Android, existing apps built with previous versions of the SDK should not be problematic. This is the role of Compilesdkversion, Minsdkversion, and targetsdkversion: they control which APIs they can use, what API levels are required, and the compatibility mode of the application.
-
What Android developers should know about Kotlin
Android developers face a dilemma with language restrictions. As we all know, the current Android development only supports Java 6 (the language itself has been some improvement since Java 7), so we can only use one ancient language for development every day, which greatly reduces our productivity, but also forces us to write a lot of boilerplate and fragile code, However, such code is difficult to read and maintain.
-
Android FrameWork for high performance animation effects (box2d/physical collisions) based on LIBGDX
Previously written by the Android FrameWork based on LIBGDX implementation of high-performance animation effects (fireworks/particle effects article) finally mentioned box2d, a long time ago I wrote a jbox2d library based on the development of a collision effect, due to jbox2d performance constraints, At the same time, when there are 20 or so objects collide, there will be the phenomenon of Kaka dropped frame, it was born to use the box2d provided in the LIBGDX to achieve a more efficient version, very happy to finish soon, we will continue to share this part of the content today.
-
What you need to know about "literacy posts" Google Play
Google Play is a central part of the Android experience. New users personalize their devices through apps, games, and other Google play content. Old users come back regularly to see what's new and what's going on. Downloading new apps is quick and easy-google Play pushes apps to the user's device instantly over the web.
-
New Android Sample: Fingerprint authentication API
The Android fingerprint API protects user privacy by carefully preserving the user fingerprint features contained in the security hardware on the device. This can protect against malicious intruders and ensure that users can safely use their fingerprints even in untrusted applications. Android can also provide protection for application developers to ensure that user fingerprints are correctly identified before they are granted access to secure data or resources.
-
Hybrid App Architecture Design Ideas
About the benefits of the hybrid model development app, there are a lot of articles on the web that have been elaborated, not here. This article will explain the experience and thinking of hybrid app architecture design from the following several aspects. Please go to GitHub issue for the original and discussion. As a cross-language development mode, the communication layer is the first consideration and design of the hybrid architecture, and all the logic is based on the communication layer.
-
"Building an Android Cache module" (i) Twain and principle analysis
In my translation of the official Google series tutorials, the Bitmap series provides an easy way to decode Bitmap, asynchronous threading, and use of fragments reuse techniques, and finally gives a very powerful scoop: Bitmapfun, Let the apes have a glimpse of how Google's siege division strategically advantageous position the second to kill OOM.
-
What developers should know about Brillo and Weave
The Android for Iot–brillo and the matching protocol announced in Google IO 2015 Weave finally unveiled the veil of mystery. Google in January 2014 for $3.2 billion acquisition of IoT company Nest Lab, in fact, the most important thing is the Nest in the IoT operating system and low power transmission protocol outstanding achievements, after nearly 2 years of running-in and digestion, launched the Brillo and Weave.
-
Fast Taxi architecture Practice
Fast taxi from the end of 2013 to the second half of 2014, the rapid expansion of system access, a lot of complex problems to be solved in a short time, and can not affect the online business, this is a relatively large challenge, this article will explain the rapid taxi architecture evolution Process encountered some representative problems and solutions.
Open Source Libraries & projects
-
Codepush
Big Microsoft's set of programs that can provide code hot updates for apps developed with React Native and Cordova.
-
Howtobeaprogrammer
A guide to how to become a procedural ape, outlining the individual skills and team skill points that need to be mastered at different stages.
-
Iron
A fast and easy-to-use NoSQL data storage framework.
-
Androidmosaiclayout
Mosaic effect Layout.
-
Small
Small, make the most lightweight cross-platform plug-in framework. Support Platform: Android API (4.0.3) + IOS 7.0+ please look forward to.
-
Brokenview
Glass fragmentation animation effect.
-
Galleryfinal
Android custom albums for photo, image selection (single/multiple selection), cropping (mono/multi cropping), rotation, Imageloader no bindings for developer selection, configurable features, theme styles configurable.
-
Dropdownmenu
A practical multi-conditional filter menu, which can be seen in many apps, such as American group, Iqiyi movie tickets.
-
Swipe-deck
Faux Tinder A custom control that can swipe left and right to eliminate card effects.
-
Magicprogresswidget
The circular progress bar of the gradient and the light weight horizontal progress bar.
-
Appcrashtracker
An exception tracker that generates a JSON-formatted log and can be uploaded to the server.
-
Intlphoneinput
A custom control that supports internationalized phone number input.
-
Weekcalendar
Week-mode Calendar custom control that supports more than 4.0.
-
LabelView
A simple label control.
-
Androidkeyvaluestore
A SQLite-based key/value storage framework.
Tools