GPS series - Android terminal, github project address tag: gps_mine
Android mobile terminal mainly uses Gaode map positioning, uploads positioning information in the background, and then tries to keep it alive as much as possible.
It includes two small functions: 1. Upload positioning information; 2. Simulate positioning information ...
Added by zurron on Wed, 23 Feb 2022 08:55:25 +0200
In android development, images are very easy to cause OOM exceptions. In most cases, images need to be compressed and displayed. This paper mainly records several common image compression methods in development
1, Mass compression
Change the bit depth and transparency of the picture on the premise of maintaining the pixels (that is, erase (as ...
Added by pixelgirl on Wed, 23 Feb 2022 05:04:46 +0200
The attachment is an apk. Run it in the simulator first.
The simulator with ARM CPU must be selected, because the native library in the app only provides the version of arm instruction set, not x86 instruction set:
After the simulator starts, drag apk to the simulator for installation. After installation, the icon of app in the ...
Added by kelvin on Mon, 21 Feb 2022 15:17:52 +0200
I've always wanted to write an article that deeply analyzes the relationship between window, View and Activity from the perspective of source code to help those junior and intermediate Android developers deepen their understanding of the three, but I haven't been able to calm down and write some good articles in recent years. At present, the pl ...
Added by Foregone96 on Mon, 21 Feb 2022 12:15:16 +0200
1. Description of folder decryptionOnly the encrypted folder needs to be decrypted. When the same user views the same encrypted folder or the files / folders in it, he / she can view the same encrypted folder or the files / folders in it again after checking the password successfully every time. There is no need to enter the password. The pass ...
Added by yogibear333 on Mon, 21 Feb 2022 10:05:04 +0200
As a new generation of routing, navigator 2.0 provides a declarative API, which is more in line with the style of fluent. Navigator 2.0 is forward compatible, and some new APIs have been added, which is quite different from Navigator 1.0.
This article will analyze the underlying logic of Navigator 2.0 in detail, so that we can have an in-depth ...
Added by coinmagnate@com on Mon, 21 Feb 2022 09:52:27 +0200
I async await and Future
There are three keywords in asynchronous call, async, await and Future. Async and await need to be used together. In Dart, asynchronous operations can be performed through async and await. Async means to start an asynchronous operation or return a Future result. If there is no return value, a Future with null return va ...
Added by Fawkman on Mon, 21 Feb 2022 09:17:00 +0200
System status bar status bar analysis (Android o)
In the system UI, the status bar provides users with some quick information display and function operation. The user can display more information on the screen in a reasonable way through the drop-down bar. On the 848 platform, there are two configurable status bars: StatusBar a ...
Added by slick101 on Sun, 20 Feb 2022 14:16:23 +0200
Tip: after the article is written, the directory can be generated automatically. Please refer to the help document on the right for how to generate it
Review the steps of Android component development architecture
Business component layer
The Module created by the business component layer adopts phone & table, w ...
Added by EvilCoatHanger on Sun, 20 Feb 2022 07:21:50 +0200
1. Download Android SDK( https://www.androiddevtools.cn/ )If you want to try Android development, you can download Android studio. If you want to be concise, you can download SDK tools. Download the Windows version of the official installer_r24.4.1-windows.exe. After installation, there will be two startup items: AVD manager and SDK manager. 2. ...