Android Development Technology Weekly ISSUE#17

Source: Internet
Author: User
Tags google guava

    1. Art run-time garbage collection (GC) process analysis

      The art runtime, like Dalvik virtual machines, uses the MARK-SWEEP algorithm for garbage collection, so their garbage collection process is generally consistent. However, the division of the heap is more detailed in the art run time, so it realizes a more diversified recycling strategy on this basis. Different strategies have different recovery efforts, the more aggressive the recovery strategy, the more memory is recycled each time, and they all have their own usage scenarios. This makes it possible to minimize application pauses each time the GC is executed. This article provides a detailed analysis of the garbage collection process at the Art runtime.

    2. How to debug HTTP (S) traffic on Android

      In Android development we often deal with the API, you may not want to, but this is not open. In most cases, it is painful to debug the process of sending network requests and receiving responses. How many times did we debug the Discovery API's call failed simply because our code was wrong or missing an HTTP header parameter? In the course of debugging, we find that the cause of the error is strange.

    3. Process analysis of the art runtime allocating memory for newly created objects

      The art runtime, like the Dalvik virtual machine, addresses memory fragmentation and out-of-memory issues when allocating memory to objects on the heap. Memory fragmentation issues can be resolved using dlmalloc technology. Out-of-memory issues are resolved by garbage collection and growing heap size within the allowed range. Because garbage collection affects programs, the art runtime uses a small-to-large garbage collection strategy.

    4. Android Performance Optimization Model

      At the beginning of 2015, Google released a feature on Android performance optimization, with 16 short videos, each 3-5 minutes, to help developers create faster and better Android apps. The topic of the course not only introduces the underlying workings of performance issues in Android, but also describes how to use tools to identify performance issues and improve performance recommendations. Mainly from three aspects, Android rendering mechanism, memory and GC, power optimization. Here is a summary of these questions and recommendations.

  1. 50 Android Development Tips (20 using MVP mode)

    As UI creation technology becomes more and more powerful, the UI layer is performing more and more responsibilities. In order to better subdivide the view and model functions, let view focus on processing data visualization and interaction with the user, while the model only relational data processing, based on the MVC concept of the MVP (Model-view-presenter) model emerged.

  2. Android Developer Tools (Developer tool)

    In the process of doing Android development, it is unavoidable to use the Android Developer tools (developer tools) that comes with it, which is a powerful development aid, as the Android version updates, developer Tools also integrates more and more convenient debugging features, with the Android 4.4.4 version As an example of some of the tools I use frequently.

  3. GitHub cheats

    This cheats contains some of the most cool and little-known features of Git and GitHub. English, Korean and Japanese versions are also available.

  4. Gradle Customizing Your Buildconfig

    Before I released this blog on Android Buildconfig.debug, it was very useful to use the Buildconfig.debug field to debug log in Eclipse, but This usage is more powerful in studio through Gradle.

  5. Google Guava Official Tutorial (Chinese version)

    The Guava project contains several core libraries that are widely relied on by Google's Java projects, such as: collections [Collections], cache [caching], native type support [primitives supports], concurrent libraries [Concurrency Lib Raries], common annotations [common annotations], string handling [string processing], I/O, and so on. All of these tools are used by Google's engineers every day in product services.

  6. Lightning-Fast inter-thread communication in Java

    Create a developer-friendly, simple, lightweight, inter-threaded communication framework that does not use locks, synchronizer, semaphores, waits, and notifications to develop a lightweight, unlocked thread-in-the-box communication framework in Java, and there are no queues, messages, events, or any other concurrency-specific terminology or tools.

Code & Open Source Library
    1. Bitmapmesh

      A library that implements the curtain effect.

    2. Androidindicators

      One can give the title animation effect of the library, has realized the effect has left and right switch, up and down switch and 3D switching effect.

    3. Zhihu-parallax-animation

      Aware of the Parallax animation effect of the Android client launch page.

    4. Tutorialview

      A library that allows you to add feature descriptions to your activity.

    5. Android-pathview

      A custom view that can display path animations, and also supports loading path animations from SVG files.

    6. Networkevents

      A library that listens for network connection status and can change the WiFi signal strength.

    7. Recyclerview-flexibledivider

      A library that allows you to control the split line style between item in Recyclerview.

    8. Instagram_filter

      A project that mimics the Instagram filter effect using OpenGL ES shaders.

    9. Stikkyheader

      This is a very-simple library for Android, allows you to stick a header to a scrollable view and easly apply Animatio N to it

      This is a very simple library that allows you to easily add a stick header to a scrollable view and add animation effects.

    10. Socket.io-android-chat

      A Socket.io demo project.

Tools
    1. Android Studio 1.1 Preview 2

      This major update:

      1. Several check rules have been added to the lint tool.
      2. More than 10 bug fixes were also made.

      See Android Studio 1.1 Preview 2 Release Notes for detailed updates

    2. Gradle-advanced-build-version

      Plug-ins that can help you automatically generate version numbers and version names.

Video
    1. Baidu map in the use of Android

      The course uses Baidu Map SDK, to lead you from the application of Baidu Map API Key start, step by step implementation of the common map in the app functions, including the introduction of the map, basic settings, mode of switching, positioning function, the combination of the direction sensor, and add covering.

Design Tutorials
    1. A blockbuster Tutorial! To help you complete the material Design study notes.

      Since the release of material design, cola Orange has been collecting relevant materials and resources to study others ' works. This set of design style is very distinct, with strong Google-style rigorous and rational philosophy, won my heart.

    2. Little tricks! Use the new features of PS CS6 to keep the icon details full and perfect

      Some of the high-definition PNG images, which are large in size and good in quality, have become miserable when zoomed to icon. This is an incredible experience for HD control and detail control, and today we share an article on using Photoshop CS6 grid alignment to draw HD icon.

Resources
    1. Awesome-sketch

      This is an incomplete list of designers and front-end engineers who want to learn Sketch, including Sketch videos, articles, manuals, and more.

Android Development Technology Weekly ISSUE#17

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.