Tag:android

  • TabLayout pits encountered in use and Solutions

    Time:2019-8-24

    Modify the pit of underline width The results are as follows: Code implementation: If we want to achieve this effect, the most important control is the underline part. There are many articles on the Internet that modify the width of the underline by reflection, but if this code achieves the desired effect, it will be […]

  • Deeplink How to Improve App Conversion Rate and Retention Rate

    Time:2019-8-24

    In the era of mobile internet, information sharing and dissemination is undoubtedly the key to the growth of App drainage. Instead of spending a lot of energy and cost to find channels and hard promotion, it is better to start with details and use the fastest and easiest way to realize Deeplink technology, break the […]

  • Zhao Ying officially launched MoAir Object Recognition SDK Xiaobai Mobile Phone to complete machine learning

    Time:2019-8-24

    From the 1960s, MIT Computer Professor organized the first Summer Project for undergraduate students, which went through the early 1950s to the 1990s, trying to use the method of creating three-dimensional models to do object recognition, and then through the 1990s, only considering the appearance-based techniques of the image itself, i.e. image extraction. Image description; […]

  • OkHttp Cache Usage Guide

    Time:2019-8-24

    HTTP Cache In Http protocol, the control of caching is controlled by Cache-Control in the first part. By setting Cache-Control, different caching strategies can be realized. Cache-Control, like other header fields, uses the key: value structure, while value can have multiple values, separated by values (see HTTP for more details). Cache-Control is a common header […]

  • Summary of Android Liu Haiping and Water Drop Screen Full Screen Adaptation

    Time:2019-8-24

    Now, there are many screen sizes and full screen solutions on the market. Here I use a picture of millet to illustrate: Both of the above screens can be collectively referred to as Liu Hai Ping, but for the smaller Liu Hai on the right, the industry is generally referred to as water drop screen […]

  • Gson and List Objects’Matching Tour

    Time:2019-8-23

    With the improvement of people’s living standard, the channel of matchmaking between people has been further improved. Recently, I occasionally saw several variety shows of dating, whether civilians or stars. It can be seen that the tide of matchmaking is coming. That’s not why two old guys, Google and Java, can’t sit still, thinking that […]

  • Flutter Development Environment Construction Configuration

    Time:2019-8-23

    Futter Development Environment Construction Configuration Acquisition of Flutter SDK First, download the Flutter SDK from GitHub.com. Or, first download git, then install git, open Git Bash, and enter it in the window git clone -b master https://github.com/flutter/flutter.git For Google’s sake, we need to change the mirror address (according to the official website prompt: The Flutter […]

  • Compile Android source code under Mac and import IntelliJ IDEA for source code reading

    Time:2019-8-23

    MacOS High Sierra Version 10.13.4 Xcode 9.3 AOSP branch: android-8.1.0_r20 Prepare compilation environment Specific reference to official documents Install jdk8u45 or newer Install the Xcode command line xcode-select –install Install other packages needed for compilation Installation using Homebrew (MacPorts is used for official documents) brew install gmake libsdl git gnupg _NOTE_ gmake can be installed […]

  • Construction and Use of Android Studio Environment

    Time:2019-8-23

    Hello, everyone. Welcome to the next yard to see flowers. Grandpa Mao, the great leader, once said, “It’s better to see flowers on horses than on horses, and it’s better to see flowers on horses than off horses.” I hope you all get off and look at the flowers.” This is the origin of our […]

  • Use of Parcelable in Android

    Time:2019-8-23

    Parcelable and Serializable Serializable is a standardized serialization interface provided by Java. Parcelable is Android’s serialized interface for us. Contrast: 1. Parcelable is more complex than Serializable. 2. Parcelable is also much more efficient than Serializable. 3. Parcelable can’t be used when data is stored on disk, because Parcelable can’t guarantee the persistence of data […]

  • Android Development Case – Elegantly Force Users to Relogin

    Time:2019-8-22

    Most mobile applications require account login to use. Since there are account login operations, there are account login operations accordingly. Account logout includes the following two situations: Users actively log out Users are forced to log out The first case is relatively simple to implement, which is not covered in this paper.The second situation is […]

  • Activity of Android’s Four Components

    Time:2019-8-22

    Preface Hi, hello, everyone. See you again. Last issue, we talked about how to install AS. Has a small partner been eager to create his own project and started to try it out? So in this issue, we mainly introduce Activity to you. As one of the four components of Android, Activity plays a very […]