Reverse sign and data algorithm
@TOC
sign and data algorithm of a residential meeting
According to packet capturing analysis, there are three parameters in the app request of huazhuhui, namely sign, data and time. Time is the current time, accurate to seconds. Sign and data are base64 encoded after a series of operations.
Capture analysis
It can be seen from the figure that ...
Added by gigamike187 on Mon, 18 Nov 2019 21:12:08 +0200
Comparison of installation steps of each version of react navigation
1.x and 2.x versions
yarn add react-navigation
# or with npm
# npm install --save react-navigation
3.x version
yarn add react-navigation
# or with npm
# npm install react-navigation
yarn add react-native-gesture-handler react-native-reanimated
# or with npm
# npm install react-native-gesture-handler react-native-reanimated
1. If your version ...
Added by BuzzLY on Mon, 18 Nov 2019 08:49:22 +0200
Flutter hybrid development: a detailed guide to communication between Android and flutter
This article starts with WeChat public's "Android development tour". Welcome to pay more attention to get more dry goods.
Communication scenario
When we do mixed development of Flutter, we usually need to communicate between Flutter and Native For example, Dart calls Native's album to select pictures, and Native actively transmits pow ...
Added by intech on Fri, 15 Nov 2019 10:26:28 +0200
Android access wechat sharing
I. preparations
Wechat open platform account registration - > Wechat open platform
Create an application and fill in the application information as required (pay attention to the signature of the application package here. The appid obtained by using the signature of the debug package can only be used by the debug package, ...
Added by ace_lovegrove on Thu, 14 Nov 2019 21:29:28 +0200
Android does not display power on wizard and power on bubble
Modified code download address:https://github.com/Vico-H/Launcher
Do not show power on Wizard
Modify the code of Launcher2.java
(file location: alps/packages/apps/Launcher2/src/com/android/launcher2/Launcher.java)
Check the source code of the website:https://www.androidos.net.cn/android/6.0.1_r16/xref/packages/apps/Launcher2/src/com/android/ ...
Added by andrew10181 on Tue, 12 Nov 2019 19:14:38 +0200
Android Studio new project app is empty
I updated Android studio a few days ago. When I created a new project today, I found that the creation failed. His app is empty. Here is the error reported. Many people must think that it's easy. It's not good to reinstall Android studio. It's good, but it's not time-consuming,
java.lang.RuntimeException: com.androi ...
Added by VanHagar on Mon, 11 Nov 2019 22:33:57 +0200
toast processing of appium
Be careful
toast is only supported by appium 1.6.3 or above, Android 5.0 or above (you need to use the yeshenduokai simulator), jdk1.8 and the environment variables are configured.
toast location
1. First, look at what the toast looks like, as shown in the figure below. The pop-up message like "press again to exit" ...
Added by xenoalien on Mon, 11 Nov 2019 18:39:25 +0200
[Android 9.0] the usbhost module in the system/core cannot output log to logcat
Phenomenon: the native Android 9.0 SDK, system / core / libushost is the module used by usb module to communicate with the driver. When debugging, you want to output log to logcat, turn on the debugging switch to recompile the code, and report the error of "undefined reference to '"
FAILED: out/soong/.intermediates/system/core/libusb ...
Added by shahansudu on Sun, 10 Nov 2019 18:36:01 +0200
Two ways to open wechat code scanning prompt in browser
Because WeChat Because of the limitation of the download of application files in the built-in browser is blocked, many people do not respond when they click the download button when scanning QR code with wechat. What I want to do is to prompt the user to open the download in the browser.Method 1: Mask prompt method
In fact, it turns out to ...
Added by magicdanw on Fri, 08 Nov 2019 22:58:41 +0200
Android product display cases ListView and SQLite
1. activity_main.xml
Add the LinearLayout of the horizontal layout in the LinearLayout of the vertical layout, and then add EditText product name, EditText amount, ImageView add button
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://sch ...
Added by subrata on Thu, 07 Nov 2019 01:13:34 +0200