Huawei's mobile phone prompts that parsing package fails when updating and installing in APP after Android is consolidated

Recently, I found a problem. When my apk was strengthened with 360, I detected the update in the app, downloaded the new apk, and the Huawei mobile phone prompted "parsing package failed" when I installed it. Other mobile phones are OK. Try to find out Solution I set System.exit(0); I think it's the same as removing ki ...

Posted by nathus on Mon, 09 Dec 2019 21:42:38 -0800

Android Studio click the button to jump to a new interface

Android Studio click the button to jump to a new interface Problem description First, we have two Java files and the XML files bound to them. Here, take history activity.Java, activity_history.xml and event detail.Java, activity_event_detail.xml as examples. We want to add a button in the history activity interface, and clic ...

Posted by scnjl on Mon, 09 Dec 2019 18:30:48 -0800

WebView disconnection prompt

For reprint, please indicate the source. For rights protection: https://www.cnblogs.com/tangZH/p/9913968.html    Rewrite the methods in WebViewClient, and then WebView.setWebViewClient(mWebViewClient); WebViewClient mWebViewClient = new WebViewClient() { @Override public boolean shouldOverrideUrlLoading(WebView view, Strin ...

Posted by nonso on Mon, 09 Dec 2019 18:19:02 -0800

Android uses RecyclerView to achieve list countdown

Recently, during the interview, the interviewer asked how to achieve the countdown effect of a list, and then his head suddenly went to O(∩∩∩∩∩∩∩∩∩∩∩∩∩∩∩∩∩. Operation rendering Implementation ideas There are two main implementation methods: 1. Start a timer for each count do ...

Posted by lovasco on Mon, 09 Dec 2019 16:13:27 -0800

Android source code download and compilation - 2019

Android source code download and compilation - 2019 (based on Ubuntu 18.10, applicable to domestic environment) Download repo tool If you do not download the repo script tool, please go to Tsinghua mirror to download it curl https://mirrors.tuna.tsinghua.edu.cn/git/git-repo -o repo chmod +x repo Then set the update source: export REPO_URL='http ...

Posted by melkara on Mon, 09 Dec 2019 12:35:11 -0800

Magic SQL Join Table Details_MySQL JOIN Execution Process

a moment of fun Me: Hey, madam, there's Iced Black TeaMadame: YesMe: How much is a bottleEmpress: 3 piecesMe: Give me a bottle, give it, three piecesMadame: Come on, your iced black teaMe: Play, I want Iced Black tea. Do you want a cap for me?Mrs. Boss: This is another bottle. My family is sold out. Go to the next house and have a change. Q ...

Posted by fansphp on Mon, 09 Dec 2019 08:22:15 -0800

Talk about RepaintBoundary in Flutter

cause I came across this by chance on a lazy afternoon Flutter Trench Record The author's question aroused my curiosity.The author's question is described below: A chat dialog page uses CustomPainter to customize the drawing dialog because the shape of the dialog needs to be customized.During the test process, we found that crash appeared in th ...

Posted by rockinaway on Mon, 09 Dec 2019 02:09:13 -0800

Map my location in real time

First, you need to display the map. Please see another article of mine Android uses Baidu map API to display maps Then get the longitude and latitude in the positioning information in real time, Android gets LocationProvider and location information Then activate the positioning function to mark my position Turn on location layer setMyL ...

Posted by evaoparah on Sun, 08 Dec 2019 22:15:40 -0800

Hongsoft face recognition 3.0 - Introduction to image data structure (Android)

Since the 2.0 SDK was opened by hongsoft, our company has used the hongsoft SDK in the face recognition access control application due to the characteristics of free and offline use. The recognition effect is good, so we pay more attention to the official dynamics of the hongsoft SDK. Recently, ArcFace 3.0 SDK version was launched, which really ...

Posted by vishi83 on Sun, 08 Dec 2019 19:58:56 -0800

Retrofit2.0 set connection timeout

Retrofit2.0, a network request framework, has been in use for a long time. Recently, there was an episode. There is an interface that returns a large amount of data due to business reasons. When the network is not good, the request fails That is to say, the onfailure() method is called back. After testing, the method will be called back in abou ...

Posted by exally on Sun, 08 Dec 2019 18:47:34 -0800