Customize the color of the status bar

First, I want to go to Tucao, and I read many blogs on the Internet. I am forced to make complaints about it. Few people can really solve the problem. Some people can really change the color of the status bar. But Nima has a gray layer on top of it, which is also called solving the problem. Some people say it's not easy ...

Posted by mmtalon on Mon, 04 May 2020 06:09:17 +0200

Hybrid App knowledge point collection

Native Webview knowledge: 1: Registration related authority <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> 2:webview common methods goBack() //Back off go ...

Posted by MorganM on Mon, 04 May 2020 01:33:41 +0200

Change Actionbar, use of Toolbar

1, Change style First, change the style of the system to the style without ActionBar, set the color of the theme, and then reference the style. <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"> <item name="colorPrimary">@color/colorPrimary</item> <item name="colorPrimaryDark ...

Posted by sander_ESP on Sat, 02 May 2020 21:06:57 +0200

How to start the activity of another APP from one APP

How to start the Activity of another APP from one APP 1. Start with custom action In this way, you only need to set an action in the code, and the system will automatically filter to find the corresponding Activity of this action Code of current APP Intent intent = new Intent(); //Here is the custom action used in ...

Posted by ChrisBoden on Sat, 02 May 2020 08:53:50 +0200

Record of Retrofit+MVP framework encapsulation

The most popular combination of network requests, retrofit2+okhttp+rxjava+mvp This is the sealed record First, it is divided into modules, such as login First, the use of encapsulation package com.fragmentapp.login.presenter; import android.util.Log; import com.fragmentapp.base.BasePresenter; import com.fragmentapp.http.BaseObserver; impor ...

Posted by jredwilli on Sat, 02 May 2020 08:14:47 +0200

How to modify the value of android:scheme in Android manifest.xml externally

The company has a small need to dynamically configure the value of android:scheme in Android manifest.xml. This translates into the problem of modifying xml node values through an external java project. Among them, Android manifest.xml needs to stipulate a rule: <activity android:name=".MainActivity"> ...

Posted by ridster on Sat, 02 May 2020 07:18:10 +0200

AS Cmake OpenCV Foundation

JniOpencv environment configuration I. preparation of development package 2. Preparation Library Three configuration CPU platform architecture types A small Demo to enhance image brightness JniOpencv environment configuration 1, Prepare development package Copy opencv Android SDK - > SDK - > nati ...

Posted by robin on Sat, 02 May 2020 06:45:50 +0200

Android version download update

Almost every function should havePreparation: request version update to get the link to download apk, For example:“ http://yibanyue.oss-cn-hangzhou.xxx.com/apk/yiyue.apk"Process: request version update link to get the link, pop-up box to ask if it is updated, create apk folder locally, Download apk with DownloadManager, and put the path i ...

Posted by padiwak on Fri, 01 May 2020 23:24:42 +0200

A detailed explanation of the use of selector in Android

From: http://blog.csdn.net/wenwen091100304/article/details/49667293, good summary Introduction The Chinese meaning selector is often used as the background of components in Android. The advantage of doing this is that it does not need to use code control to realize the transformation of different background colors or pictures of compo ...

Posted by jmanfffreak on Fri, 01 May 2020 17:36:32 +0200

apk decompilation and AS basic confusion rules

1, Decompilation Decompress apk with compressed package management software (such as WinRAR, WinZIP, etc.) to get the classes.dex file, and put the file in the dex2jar folder. Use the dex2 jar tool software to get the corresponding jar files. (1) Open the command line interface. (2) Navigate to the directory where d ...

Posted by robtbs on Fri, 01 May 2020 08:04:28 +0200