Reactnative for Android Project Combat Summary
Android Qzone 6.1 version in the couple space wading react Native, with the dynamic plug-in way will couple space react natived transformation. Based on the couple's space, the Android Qzone 6.2 version integrates the topic circle into the react native transformation. This paper mainly describes the development and transformation process of the topic circle, correlation data and performance optimization, this transformation reactnative based on 15Release.
An analysis of Android windows
In the development process, we often encounter a variety of window-related classes, or methods. But what exactly is a window in Android's frame design? What is the relationship between Windows and the window class in the Android Framework? Take the phone QQ main interface As an example, as shown above, the status bar is a window, the main interface of Mobile QQ is a window, and the pop-up Popupwindow is also a window, we often use the Toast is also a window.
The design and application of the finite state machine in Android
The main contents are: The finite state machine thought traceability, the basic concept and programming idea of the finite state machine, Android StateMachine source code parsing, Android StateMachine application example
Android Camera Development Those pits
I recently developed an Android camera-related requirement that allows users to quickly take photos of a specific size (1:1 or 3:4) using a mobile camera and support stickers-related operations on the photos taken. Since I had not been in touch with the development of the Android camera, it took a lot of time and effort to put a lot of holes in the whole development process. This article summarizes the development of Android camera knowledge, process, and easy to encounter the pit, hoping to help future friends may contact the development of Android camera quickly, save time, less detours.
The survivors are dead? Android Process Priority Detailed
Let's face it: there's no unlimited memory on mobile devices, unlimited batteries or other unlimited resources. This means that you should treat process death as a natural process of application life cycle. The most important thing is to ensure that the kill process and memory collection do not adversely affect the user. In fact, most process architectures in Android are specifically designed to ensure a particular order and follow a set of patterns at the level of importance.
Optimize Android threading and background task development
In Android development, you should not do anything to hinder the main thread. But what does that really mean? In this session of the Android developer conference in the bay, Ari Lacenski that you should be especially careful about long-running or potentially complex tasks. In this presentation, we will discuss Asynctask, Activity, and Service to build a more maintainable solution based on the needs of a real-world scenario application.
Android 6.0: A dynamic Rights management solution
The Android 6.0 release (Api 23) introduces a number of new features that greatly enhance the user experience and create a new burden for programmers. Dynamic rights Management is the way to make it easier for users to control their privacy, on the one hand, the need to re-adapt the application permissions. Times are always evolving, procedures are always people-oriented, let us add dynamic rights Management for the application it! This provides a very good solution.
How do I customize my android annotations?
The current open source project based on annotations is getting hotter, Dagger, Butterknife, Retrofit ... Many popular open source projects use annotations, how can you use annotations as gracefully as GitHub Daniel? The author of this article will give you a step by step demonstration, at the end of the text and a complete code yo.
Andriod the way to crack (i)
In the root premise, we can use the hooker way to bind so library, reverse the value of tampering, so as to achieve the so-called crack purpose. However, at present, whether it is the software reinforcement method, or the data processing ability back-end, or the client data authenticity verification, have a certain accumulation and development, so that "lazy technology" is no longer to crack the change of the balm. Moreover, reading assembly instructions, function pointer substitution, pressure stack out of the stack and other technology needs a certain technical precipitation, not conducive to the development of students to get started.
Android hack Path (ii)
In this article, let's discuss some of the things you can do with screenshots based on the multi-cache file mode of the Android system. "The way to crack (i)" begins by introducing the technology of screenshot based on Root environment, it is quick and convenient to use this method to get the screen data. However, everyone should not be happy too early, but there are two system-level problems, rarely an article into discussion, here to give you a detailed explanation.
Dynamic Android Programming
Some examples of this article require a certain programming foundation for Java or Android. Java is a more serious language than Python. As a first to learn Python programmer, do Android will inevitably feel uncomfortable, some rigid, very miss decorator and other convenient methods. In order to implement a simple logic, you may need to write a lot of extra code.
The murder caused by bitmap.recycle
In Android, bitmap storage is divided into two parts, part of which is bitmap data, and part of the bitmap reference. In the Android2.3 era, the bitmap reference is placed in the heap, while the bitmap data part is placed in the stack, the user needs to call recycle method of manual memory recovery, and after Android2.3, the entire bitmap, including data and references, are placed in the heap, so that the entire BITM The recovery of the AP is all given to the GC, and the Recycle method is no longer needed.
How to learn Android Animation?
What type of animation can be made (class 1th) The following blog posts show the "animation" to the developer in 3 ways: Give some guidelines, explain why animations are so animated, or what the benefits of such animations are; give a GIF motion diagram to visually show what the animation is; give a snippet of code that implements this animation (the key class , methods, resource files) or implementation ideas, this is very good, can help us to quickly build the impression of animation, understand what a noun represents the animation is what it should be done. And many of the snippets are excerpted from open source projects, meaning we can debug these animations.
Talking about the development culture of Android
Quality from user feedback very cool then we can only look at the CPU the original idea is but actually not these but we can collect the data, in the long run, we are very simple, how to get rid of this idea of resignation, where I can go, what to do, any team have certain problems, if he goes, I think I can still accept the lack of an alarm. What do you call our team at that time Android development is now in a bind (fast into seven years ... )。
How do I manage dependency on the Android library?
When an Android developer chooses a library for a project, the factors to consider are not just features, availability, performance, document richness, and technical support. They also care about the size of the library and the number of methods to add. Because the larger the project, the more dependent, the number of applications to be controlled under 65k, developers feel very stressed. In addition, for non-release projects, the Proguard is inefficient to use, and developers see Multidex as a plague and avoid it. Therefore, authors who write libraries must pay particular attention to the size of the project.
How do I quantify the "card" of Android apps? -Smoothness Principle & Definition Chapter
In the mobile app competition more and more fierce today, the performance of Android app, such as CPU, memory consumption and so on have an objective measure. But for the smooth use of the app, there has been no reliable indicator of the user's objective feelings and data one by one corresponding. Although there were FPS (frames per second) as a performance indicator for the game or video class app, it is still not an appropriate measurement for apps that don't have a lot of interface updates.
Android foreground service framework based on fragment
Starting with Android 3.0, Google has introduced a new fragment UI system that redefines the reusable, extensible Android UI design concept. The Android Support library provides a complete fragment-to-post compatibility scheme (BACKPORT) for any application developer who is targeting low-version Android. So, if you are developing a new Android app, using fragment has no scruples. Embracing this powerful mechanism design as early as possible can help you save considerable development and maintenance effort.