reactNative integrates QQ sharing and payment

1, android configuration 1. Download QQ Internet sdksdk Download 2. Create a new libs folder under android/app and put the sdk in the folder 3. Add the following in android/app/build.gradle: dependencies { implementation fileTree(dir: "libs", include: ["*.jar"]) implementation "com.facebook.re ...

Posted by pestilence669 on Sun, 02 Feb 2020 06:59:11 -0800

1. Simple Topology

1. Simple Topology Preparatory Knowledge Points Router principles: As the third layer device, the basic function of a router is to select routes according to the network layer address.After it judges the packets it receives based on the destination address, it sends them from the interface that can re ...

Posted by Chrysanthus on Sat, 01 Feb 2020 18:44:33 -0800

The screenshot function of unity shader, the common cginc, the multi-component and the basic optimization of mobile platform

GrabPass Use screen capture channel GrabPass [] or GrabPass {"texture name"}; If you do not specify a texture name, the texture will be generated into the "GrabTexture" by default, and the subsequent Pass channel uses this variable to obtain the screen capture texture Scene: Code Sh ...

Posted by gibs on Fri, 31 Jan 2020 23:44:59 -0800

Notes on iOS reverse learning -- LLDB dynamic debugging target program

Notes on iOS reverse learning: LLDB dynamic debugging target program Configure debugserver 1. Copy the debugserver in the mobile phone to the Mac (provided that the mobile phone has been used as a test machine) scp root@192.168.0.15:/Developer/usr/bin/debugserver /Users/mac/Desktop/dump 2. Check the debugserver architec ...

Posted by matt86 on Fri, 31 Jan 2020 12:03:45 -0800

Conversion of txt novel to mobi novel by using kindlegen (C + + implementation)

I always like to read novels on the kindle. The kindle doesn't hurt my eyes. It can also help control the time of playing mobile phones. But it's a headache to read the online novels in the format of txt on the kindle. Such novels have no catalogue on the kindle, and they are very long. So I always wanted to add a catalog. So there is this arti ...

Posted by Link on Thu, 30 Jan 2020 06:25:38 -0800

[PTA] family property

Topic restatement Given each person's family members and the real estate under their own name, please count the population of each family, the per capita real estate area and the number of real estate units. Input format: Enter the first line to give a positive integer n (< 1000), followed by N l ...

Posted by mark123 on Wed, 29 Jan 2020 22:13:58 -0800

Cf873 - Forbidden indexes - suffix array - parallel search set

subject Title Link content Give a string s, and specify some characters are legal and some are illegal Find the maximum value of ∣ a ∣ f(a) ゗ * f(a) ∣ * a ∣ * f(a), aaa is the substring of s, f(a)f(a)f(a) f (a) is the number of occurrences ending with legal characters Analysis Build suffix array, ...

Posted by The Midnighter on Tue, 28 Jan 2020 08:36:33 -0800

Basic usage of notification

notice Notification is a special function of Android system. When an application needs to send a reminder to users, it can be realized by notification. Most Android users like this function. Even IOS has added similar functions after version 5.0 1. You need a notification manager to manage notifications. You can call Content' ...

Posted by stbalaji2u on Sun, 26 Jan 2020 09:59:40 -0800

Development of sleep app (1): native.js calls the native mediorecorder object to realize the function of monitoring dreamtalk

We are going to develop a sleep aid app. On the way, we need to realize the function of listening to the user's dreamtalk. Because the h5 + encapsulated audiocorder object used by the front desk staff is not enough to achieve the expected effect, so we decided to use native.js to call the native mediacorder object to realize th ...

Posted by bloo on Fri, 24 Jan 2020 06:49:59 -0800

CCF 2019-12 third question chemical equation balancing

Explanation: String emulation The meaning of the question is to judge whether the chemical equation is balanced. Basic idea: count the elements on the left and right side of the chemical equation, and then judge whether all elements are equal.    step 1: split the string    & ...

Posted by amir on Fri, 24 Jan 2020 01:13:47 -0800