Linux Chromium source compilation
LInux Chromium source compilation
Under LInux, Chromium is compiled in gn+ninja mode. The older version of gyp has been discarded, and by default (the is Pang flag bit is true), the clang compiler is used.
GN generates the build.ninja file through the GN file in the Chromium source code under the compiled directory (s ...
Posted by mac25 on Sat, 04 Apr 2020 03:29:53 -0700
The ExpandableListView control implements the second level list
The renderings are as follows:
Click event is attached to the secondary list.
1. Layout file:
A custom navigation RelativeLayout is added here. Remember to add "Android: theme" = "@ style / theme. Appcompat. Light. Noactionbar" When noting activity to remove the navigation.
1 <?xml version="1.0" encoding="utf-8"?> ...
Posted by meckr on Fri, 03 Apr 2020 17:26:47 -0700
Summary of okhttp 3.4.2 interceptor
I wrote one in 16 years Simple configuration of RxJava+Retrofit+OkHttp combination in network request , this article can be used as a supplement to it.
As an important member of the okhttp interceptor, if we make good use of it, we will get twice the result with half the effort. First, let's look at the interceptor's core inte ...
Posted by krio on Fri, 03 Apr 2020 15:19:38 -0700
Collection of Android Development Engineers - 1 hour learning how to develop Widget
Preface
Hello, I'm Vic. Today I'll bring you a collection of Android Development Engineers - an overview of learning Widget development in one hour. I hope you like it
Learn to use Widget
Widget widgets are very convenient, fast, personalized, customized, relevant functions, and can update the latest content in real time.
Widg ...
Posted by Nandini on Fri, 03 Apr 2020 14:36:15 -0700
Android develops TabLayout and Fragment to achieve tabbed effect
Android develops TabLayout and Fragment to achieve tabbed effect
Use TabLayout and Fragment to realize the function of tabs
First on the renderings
Write the interface first.
Main activity.xml code
vertical linear layout, two controls, with tabs above and content below
<android.support.design.widget.TabLayout
...
Posted by nafarius1357 on Fri, 03 Apr 2020 13:33:33 -0700
Android background service monitoring key (home,back, volume key)
0. Start the 1x1 size service window to monitor the change, and press the volume button
Touch screen events are not accepted.
public static final int FLAG_NOT_TOUCHABLE = 0x00000010;
When the window can get the focus (without setting the flag not focus option), the point device events (mouse, touch screen) outs ...
Posted by iimrii on Fri, 03 Apr 2020 13:11:54 -0700
Source code analysis system server
I. overview
2, System server startup sequence diagram
3, Source code analysis of system server startup
Class ZygoteInit
Class RuntimeInit
Class methodandargscaler
4, System server source code analysis
I. overview
When Android starts, it will involve many system level services, such as activity manager s ...
Posted by akillez on Fri, 03 Apr 2020 11:53:41 -0700
Share button, h5 share to Android page
qq. the page shared by WeChat. How to call up an app and call it to a specific page
Original: 17:34:00, April 14, 2017
Label:
share /
Open to jump to the specified page
3808
The URL Scheme is supported by iOS and Android platform. Only the scheme needs to be registered when the native APP is developed. When ...
Posted by diesel on Fri, 03 Apr 2020 07:55:32 -0700
android permission plug-in permissiondispatcher & plugin demo has source code
PermissionDispatcher Plugin Demo
PermissionDispatcher Plugin
It is very convenient to add automatic application authority code. If the user chooses to agree, it can be used directly. If the user refuses to accept
1. Add plug-ins to Android Studio
Method 1: download on the official website
https://plugins.jetbrains.co ...
Posted by sabien on Fri, 03 Apr 2020 06:51:46 -0700
Message notification event in Android monitoring system
0. Learning articles
Refer to the following Blog without any extra code
https://blog.csdn.net/wanghang1208/article/details/49905403
The original Baidu guard notice bar is similar to this principle, very good
1. Demonstration results
Data source
log monitored
03-24 14:37:04.264 6155-6155/com.lava.noticeobser D/ ...
Posted by eerok on Fri, 03 Apr 2020 05:40:58 -0700