Category:Android

  • Deep understanding of various contexts in Android

    Time:2020-4-1

    Preface There are many articles about Context on the Internet, such as: Android context fully parses, all kinds of details of context you don’t know What is Android context? But after a look, we found that there are still some points worth discussing, such as the equation: Number of contexts = number of services + […]

  • Android APT Technology

    Time:2020-3-30

    For reprint, please indicate the source: HTTPS: / / / www.cnblogs.com/tangzh/p/12343786.html,                             http://77blogs.com/?p=199 Apt is the abbreviation of annotation processing tool. It is an annotation processor. When processing annotation, additional source files and other files can be generated according to the annotation […]

  • Android.mk file local? SDK? Version option

    Time:2020-3-29

    Api classification internal apiTranslated into internal API, understood as the API for internal use of SDK.This kind of interface was originally intended to be private. hide api See the method or class marked with @ hide in the source code, that is, hide.This kind of interface is intended to be public, but the current stage […]

  • Android.bp file introduction

    Time:2020-3-28

    Android.bp is the configuration file used to replace android.mk, which is parsed using the blueprint framework. Blueprint is a tool for generating and parsing android.bp, which is part of Soong. Soong is a tool specially designed for Android compilation. Blueprint only parses the file form, while Soong interprets the meaning of the content and finally […]

  • Android uses giflib to load gif

    Time:2020-3-26

    If it is created by an individual, please indicate the source of the article: https:////www.cnblogs.com/tangZH/p/12356915.html android使用giflib加载gif   Background: anyway, NDK loading GIF is much better than Java loading GIF, mainly reflected in memory consumption and CPU consumption. Using NDK to load takes up less memory and consumes less CPU.   To load with NDK, you […]

  • The application could not be installed: INSTALL_PARSE_FAILED_BAD_PACKAGE_NAME

    Time:2020-3-25

    Summary of questions Installation did not succeed. The application could not be installed: INSTALL_PARSE_FAILED_BAD_PACKAGE_NAME Installation failed due to: ‘null’ Occurrence scenario: it appears during installation after the applicationid suffix is added in the variant. Because of the change of requirements, we need to add variants and change the applicationid, so we use theapplicationIdSuffixTo add a […]

  • Pageview of flutter widgets

    Time:2020-3-24

    Note: without special instructions, the versions of flutter and dart are as follows: Flutter version: 1.12.13 + hotfix. 5 Dart version: 2.7.0 Basic usage Pageview control can realize the effect of “picture rotation”. Pageview can not only slide horizontally, but also vertically. Simple usage is as follows: PageView( children: [ MyPage1(), MyPage2(), MyPage3(), ], ) […]

  • Analysis of the connection process between Android application and surfaceflinger service

    Time:2020-3-23

    Analysis of the connection process between Android application and surfaceflinger service The boot animation of Android system is implemented by the application program boot animation, which is located in the directory / system / bin. For its specific implementation, please refer to the analysis of the boot screen display process of Android system. Why choose […]

  • Android state machine Statemachine use example and source code analysis

    Time:2020-3-22

    Android frameworks source Statemachine use examples and source analysis One of my colleagues at work talked about Android state machineStateMachine。 As a senior Android Engineer, I haven’t heard of itStateMachine, so take the time to study. StateMachineNoAndroid SDKRelated API in, which exists inframeworksA Java class in the source code of the layer. Probably because of […]

  • Tiktok, how to achieve QQ video call and shake out video display

    Time:2020-3-22

    Tiktok, how to achieve QQ video call and shake out video display First of all, why is there such an articleIn 2014, Lenovo made a short video software called “magic show”. Tiktok is basically the same as it is now, but because “magic show App” was born in Lenovo, it was destined to grow into […]

  • Android development uses ProgressBar to implement progress bar function example

    Time:2020-3-21

    The example of this article describes how to use ProgressBar to realize the function of progress bar in Android development. To share with you for your reference, as follows: There are two main directions to use progress bar; 1. Use the official default style 2. Use custom style First look at the effect: Detailed code […]

  • An example of using ratingbar, a custom star rating control developed by Android

    Time:2020-3-20

    In this paper, an example is given to illustrate the usage of ratingbar, a custom star rating control developed by Android. To share with you for your reference, as follows: Rating bar is similar to seekbar, ProgressBar ‘and so on. You can customize the style Its main uses are Taobao, scenic spot satisfaction, etc Here […]