Flutter Page Switching (Basic Routing)
An application usually consists of multiple pages, and the mechanism for uniformly managing jumps between pages is often referred to as routing management or navigation management.
Route management
In Flutter, jumps between pages are managed through Route and Navigator
Route: The abstraction of the page, which is responsible for creating the c ...
Posted by djetaine on Mon, 07 Oct 2019 17:44:09 +0200
Do you know these commonly used H5 codes?
1. Return to the previous pageThe first time you used the mobile phone end to return to the previous page, you only wrote window.history.go(-1).But it only works on the phone. Apple phone compatibility needs to add return false after the jump code.After the jump, refresh the page and add self.location.reload(); this sentence.
window.history.go( ...
Posted by itbegary on Mon, 07 Oct 2019 06:48:10 +0200
Passing one or more values through Intent
Intent is used to transfer parameters between activities and jumps of active interfaces.
Here we first create an activity to generate a button in the activity MainActivity to pass parameters and jump the interface.
intent is mainly transmitted by the following methods:
The following is the transmission ...
Posted by Paulkirkewalker on Sat, 05 Oct 2019 20:43:51 +0200
[Android] Initialize every page with JsBridge and WebView
Now there's a requirement: initialize the toolbar in the android interface based on the json passed from the page.
So use JsBridge
Implementation'com.github.lzyzsd: jsbridge: 1.0.4'//js and android interaction framework
Import the JsBridge project, add a webview to the layout, and then come to th ...
Posted by JMair on Sat, 05 Oct 2019 01:54:45 +0200
MTK Recovery Mode Horizontal Screen Modification (for 6.0 + 8.1)
Before modification
After modification
6.0 Recovery Mode Horizontal Screen Modification Method
Modification of relevant documentsbootable\recovery\minui\Android.mkbootable\recovery\minui\mt_graphic_rotate.cppbootable\recovery\minui\mt_graphic_rotate.hbootable\recovery\minui\graphics_fbdev.cppbootable\recovery\minui\minui.h
1. Add mt_graphic_r ...
Posted by Mysticated on Fri, 04 Oct 2019 13:22:08 +0200
Android Development - Toolbar Common Settings
This note is used to record common Toolbar settings, such as Toolbar color settings, display the return button, and display three buttons on the right.
Before Android used ActionBar and Android5.0, Toolbar recommended ActionBar instead of ActionBar.
Recently, I started to use kotlin slowly. The code posted may be kotlin's code. Excuse me, if yo ...
Posted by kutti on Thu, 03 Oct 2019 21:30:13 +0200
[Mid-Autumn Festival] Universe First IDE Visual Studio
Official website
https://visualstudio.microsoft.com/zh-hans/vs/
File
https://docs.microsoft.com/zh-cn/visualstudio/designers/getting-started-with-wpf?view=vs-2019
https://docs.microsoft.com/zh-cn/dotnet/framework/wpf/getting-started/walkthrough-my-first-wpf-desktop-application
The first WPF desktop application
Install Visual Studio
Create a ...
Posted by zfred09 on Thu, 03 Oct 2019 15:00:25 +0200
appium boot appears at com.google.common.base.Throwables.throwI
Great God Link:https://blog.csdn.net/yunfeng482/article/details/76737683
Error log:
Method arguments: "M6TGLMA721108530", "5190"
//Step 1: Start - ----------> appium and its application
java.lang.NoSuchMethodError: com.google.common.base.Throwables.throwIfUnchecked(Ljava/lang/Throwable;)V
io.appium.java_client.remote.AppiumCommandExecutor.e ...
Posted by boushley on Wed, 02 Oct 2019 05:59:45 +0200
How to Debug Classes Quickly with UiAutomator on Mac OS
Recently, when I used UiAutomator to debug classes quickly on Mac OS, I found that it is very different from using classes in Windows environment. There are many pits to fill in for my Mac OS white. Today, I finally revised them and shared the code for your reference. The main difference is that when you execute a command, you need to precede i ...
Posted by neuromancer on Tue, 01 Oct 2019 07:50:38 +0200
Read PDF documents, vudroid(Android)
Links to the original text: https://my.oschina.net/gal/blog/200182
Code modification from there( Summary of Open Source Android pdf Reader Development ) The author shared the code of G ...
Posted by HoangLong on Tue, 01 Oct 2019 00:47:09 +0200