About wechat H5 payment (wechat payment and jump connect payment)

I haven't updated my blog for a long time. Recently, I met wechat payment for my project. I need to sort out the demand. I need to adjust wechat payment for an activity page!Application framework THINKPHP5.1 Note: for wechat payment, if it is the h5 page, you need to obtain the code in a silent login state, so as to ensure that the parameter o ...

Posted by tronicsmasta on Wed, 11 Dec 2019 15:15:40 +0100

Learning Android RxJava operators -- combining and merging operators -- combining and judging multiple events

1. Demand scenario Multiple events need to be judged jointly at the same time For example, when filling in the form, all information (name, age, occupation, etc.) in the form must be filled in before clicking the "submit" button 2. Function description Fill in the form as the joint judgment function display he ...

Posted by coffeeguy on Wed, 11 Dec 2019 07:17:54 +0100

ContentProvider for IPC inter process communication

ContentProvider for interprocess communication First, introduce 1. The underlying implementation is Binder 2. In addition to the onCreate method running on the main thread, the other four methods are called back from the outside and run in the Binder thread pool. 3. To register ContentProvider, an attribute android:authorities ...

Posted by zipdisk on Wed, 11 Dec 2019 04:15:25 +0100

Writing android with Kotlin: retrofit + rxjava try

Recently, I learned the Kotlin language recommended by Google for Android development, which was used to try to reconstruct the MVP+Retrofit+Rxjava code before. Here is my reconstructed Kotlin code First add the compile of gradle: dependencies { compile 'io.reactivex.rxjava2:rxjava:2.0.7' compile 'io.reactivex.rxjava2:rx ...

Posted by jl9148 on Wed, 11 Dec 2019 01:11:15 +0100

Spring MVC: forwarding and redirection, image file upload, Jason

Be careful: Project: war and project: war expanded They are not the same. idea runs the project: war expanded   <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>4.3.10.RELEASE</version> ...

Posted by ruben- on Tue, 10 Dec 2019 23:46:04 +0100

The pit encountered by android integration sharesdk cannot return to app, etc

After sharesdk integration, I encountered a problem sharing to wechat and friends circle. When I clicked back, I found that I couldn't go back to the app private void sharedToThirdPlatform() { OnekeyShare oks = new OnekeyShare(); //Close sso authorization oks.disableSSOWhenAuthorize(); // Ti ...

Posted by Thikho on Tue, 10 Dec 2019 18:14:37 +0100

React native integrated alliance push

The company used it when developing the app, but the official documents of Youmeng are vague; roughly sort out the processing process from integrating Youmeng push to opening push message; if there is any inappropriate processing, please correct!!!! Integrated push function The alliance pushes the official document react nati ...

Posted by PcGeniusProductions on Tue, 10 Dec 2019 08:21:48 +0100

A quick look at ThreadLocal

Welcome to read and communicate with us. Please leave a message if you have any questions. There are also open sources on GitHub JavaHouse Welcome to star 1 Introduction In Java8, ThreadLocal is a generic class.This class can provide thread variables.Each thread has its own variables.What does this mean?Every thread has its own resources, just ...

Posted by Vik on Mon, 09 Dec 2019 17:49:33 +0100

Adroid's custom running lamp (super simple)

I. XML 1. A picture, a text description (what controls are needed to choose by yourself) <!--horse race lamp--> <RelativeLayout android:id="@+id/homepager_RelativeLayout_pao" android:layout_width="match_parent" android:layout_height="@dimen/dp_50" android:layout_below="@+id/homepa ...

Posted by RwpTechAdMin on Sun, 08 Dec 2019 19:13:56 +0100

Sample code of three ways to make a simple todo application with Vue

This article mainly introduces the sample code of three ways to use Vue to make a simple todo application. Xiaobian thinks it's very good. Now I'll share it with you and give you a reference. Let's follow Xiaobian to have a look   1. Reference vue.js `<!DOCTYPE html>` `<html>` `<head>` `<script src=``"[http://vuejs. ...

Posted by rotto on Sun, 08 Dec 2019 09:29:50 +0100