Linux -- install and configure Android SDK

1. Download Android SDK http://tools.android-studio.org/index.php/sdk/ I downloaded: Android sdk_r24.4.1-linux.tgz 2. Unzip Android SDK Copy the Android sdk_r24.4.1-linux.tgz file to a directory in the Linux file system. My directory is / usr/local/ Execute command decompression: tar -zvxf android-sdk_r24.4.1-linux.tg ...

Posted by Alith7 on Mon, 06 Apr 2020 03:55:11 +0200

Implementation of multiple popu display based on openlayer4

                     . You can click the official website to pop up the demo. Based on this logic, you can write a dynamic overlay layer and the dom nodes you need.          &ems ...

Posted by justinma on Sun, 05 Apr 2020 02:43:43 +0200

Source code analysis - start process of PackageManagerService(1)

I. overview 2, PMS initialization 2.1 PMS initialization sequence diagram 2.2 PMS source code Summary Reference resources I. overview background During application installation, it also includes the use of package manager service (PMS); This paper mainly analyzes the initialization process of ...

Posted by joeman3429 on Sun, 05 Apr 2020 01:16:39 +0200

Android data storage - shared perences

SharedPerences Storage mode: key value pair Store data in SharedPreferences Step: Call the edit() method of the SharedPerences object to get a SharedPerences.Editor object. Add data to sharedperence.editor. Call the commit() method to commit the added data. In the click event: SharedPreferences.Editor editor = ...

Posted by suneel on Sat, 04 Apr 2020 04:32:14 +0200

Gradle unified management version

In order to improve the efficiency of project development, some open source frameworks are often introduced in the actual project development process, as well as various modules used in the project. When too many modules are introduced, it is better to provide a unified way to manage version numbers, such as compileSdkV ...

Posted by scott56hannah on Sat, 04 Apr 2020 02:29:33 +0200

The fourth chapter of Android advanced application development -- AsyncTask

**The fourth chapter of Android advanced application development -- AsyncTask** 1, What is AsyncTask? 1.AsyncTask is a lightweight (less code) asynchronous class provided by Android. 2. In order to reduce the development difficulty of asynchronous communication, AsyncTask is provided. 3.AsyncTask directly i ...

Posted by astricks on Sat, 04 Apr 2020 00:15:13 +0200

Android Pickerview selector

1. overview I remember that when I was working on the mall project, I needed to realize the three-level linkage between the province and the city in the address selection to facilitate the user to fill in the address quickly. At that time, I used an open-source control called Android wheel, which felt very easy to use. The onl ...

Posted by vikela on Fri, 03 Apr 2020 23:46:27 +0200

ReactNative: ReactContext!=Activity

In the project, there is a bookshelf View provided to react native for use. It monitors the corresponding life cycle of react native to refresh the interface. The code is as follows //ViewManager public class BookShelfManager extends SimpleViewManager<BookShelfView> { private BookShelfView mBookShelfView; @Override ...

Posted by rinjani on Fri, 03 Apr 2020 10:46:41 +0200

Retrofit+SwipeRefreshlayout+RecyclerView to implement pull-up refresh and paging load

Preface: In the process of project development, we usually have the demand of "paging load". Paging load is to display data in the form of list. On the premise of having a network, we can manually obtain more data through pull-down refresh. When there is no more data, we will be reminded that we do not have more data.     & ...

Posted by jakeklem on Fri, 03 Apr 2020 03:29:53 +0200

Solutions to conflicts when Android Scrollview nesting ViewPager + Fragment

Start with the final rendering (the image is not very clear): The top ad uses ConvenientBanner, which has little to do with this article. Only show the effect. In fact, we use NestedScrollView to achieve the above effect. There are several problems when nesting viewpagers with NestedScrollView: 1. Fragment s in vi ...

Posted by Bikkebakke on Fri, 03 Apr 2020 00:03:51 +0200