[Android jni Development Series (I)] Android Studio development environment construction and common error resolution

1. Download ndk ndk can be downloaded directly through sudio (tools - > Android - > SDK Manager - > SDK tools to download cmake and ndk) Or directly to AndroidDevTools Download and configure the environment of the ndk like the sdk. 2. Check Include C++ Support when creating a new Android project. It is estimated tha ...

Posted by barneybarney68 on Wed, 01 Apr 2020 01:15:01 -0700

maven project integrates official wechat payment v3.0.9 (spring boot sample version)

Former by: recently made wechat payment in java, checked the maven warehouse of wechat payment sdk, and found that the latest update was on March 16, 2017, and the version number stayed at 0.0.3: <!-- https://mvnrepository.com/artifact/com.github.wxpay/wxpay-sdk --> <dependency> <groupId>com.github.wxpay</groupId> ...

Posted by edwinlcy on Tue, 31 Mar 2020 20:09:14 -0700

Android development runtime permission dynamically applied tool class (extension supported)

Flow chart of dynamic application authority: Tool class of dynamic permission Core code used by tool class: Android 6.0 or above (API > = 23), or build.version.sdk ﹐ int > = build.version ﹐ codes. M, sensitive permissions like camera, location, mobile phone address book, phone call and other permissions need ...

Posted by landysaccount on Mon, 30 Mar 2020 09:44:14 -0700

Java integration Alibaba big fish

Next, we learned the message service of Alida fish This article integrates it into the code 1. Use API to send SMS Step 1: view help documents Ali big fish API https://help.aliyun.com/product/44282.html?spm=5176.12212976.0.0.15b31cbeK3Pm5Y Step 2: determine the code in Java development Example demo https://help.aliyun.com/document_detail/ ...

Posted by jabba_29 on Fri, 27 Mar 2020 03:57:42 -0700

Use of extreme validation (nodejs deployment)

Add some verification codes to the page to avoid malicious external damage.The following is a summary of my work validating deployments with nodejs pairs. 1. Verify ideas with nodejs deployment poles: Installation dependencies: request, express, body-parser, supervisor, express-session. Install the SDK using npm install gt3 ...

Posted by djdog.us on Tue, 24 Mar 2020 09:35:48 -0700

[Spring Security + OAuth2 + JWT introduction to actual combat] 22. Transformation of social login

brief introduction SDK is generally provided for APP social login. There are two situations for SDK First kind SDK provider returns openId and logs in to our interface system with openId to apply for token Create the OpenIdAuthenticationToken class: /** * */ package com.spring.security.social.openid; import java.util.Collection ...

Posted by pinhead on Thu, 19 Mar 2020 11:07:48 -0700

Security problems of including cover in Android manifest.xml

0x00 about Android manifest.xml Android Manifest.xml is a required file in every Android program. It is located in the root directory of the whole project, and the Manifest file provides basic information about the application to Android System, which is required by the system to run any applicati ...

Posted by varasurf on Mon, 16 Mar 2020 06:39:38 -0700

Fabric 1.4 source code interpretation 4: transaction endorsement process interpretation

When the picture cannot be displayed, please check the original text: https://lessister.site/2019/10/29/fabric-transaction-endorser-source/ Article directory Technological process Macro transaction process Chain code calling process Proposal endorsement process Source code analysis Proposal definit ...

Posted by WormTongue on Sun, 15 Mar 2020 04:37:16 -0700

An example of getting started with ZYNQ -- timer interruption and program solidification

I. Preface In the APU system, the CPU performs the operation in the way of serial code execution, and the software mode is difficult to achieve accurate timing, so it is a better choice to call the internal timer hardware to complete timing. In this paper, timer interrupt control LED periodic flicker as an example to learn the use of private ti ...

Posted by shumway on Sun, 08 Mar 2020 04:30:32 -0700

Beauty of unity online game architecture design (Lesson 11: role synchronization solution)

Lesson 11: role synchronization solutions In the previous chapter, we introduced the deployment of servers. In this chapter, we use deployed servers to synchronize roles. Here we first introduce what is role real-time synchronization. Online game role real-time synchronization has always been a tech ...

Posted by mwilson on Sat, 07 Mar 2020 01:51:22 -0800