[blame upgrade] applet custom head navigation bar "perfect" solution

Why do you do this? Mainly in the project, some problems found by zhikujun Some pages are accessed by scanning codes and subscribing to messages. There is no direct way to click to go to the home page. You need to add a home link. Need to add custom search feature Some function buttons need to be customized In fact, the first problem has be ...

Posted by ErcFrtz on Tue, 22 Oct 2019 01:09:19 -0700

80 distributed e-commerce project - SMS micro service

Now we need to build a general SMS sending service (independent of the separate project of pinyougou). The message (MAP type) received by activeMQ includes mobile number, template code, sign name and param. code implementation (1) create project pyg SMS (JAR project), and introduce dependency into POM ...

Posted by zhahaman2001 on Mon, 21 Oct 2019 14:37:56 -0700

Android implementation of music player [source code + Notes] - MediaPlayer

Design sketch: Before writing the code, I'll tell you a pit. When I implement this function, I encountered a pit when importing raw file, and I can't find this folder. If you also encounter this situation, please refer to a blog I wrote before to solve the problem: https://blog.csdn.net/qq_27494201/arti ...

Posted by maga2307 on Mon, 21 Oct 2019 11:41:12 -0700

[Fragment] lazy loading implementation

I. why lazy loading Lazy loading means loading when needed. 1.1. Why does Fragment need lazy loading? Generally, we will start some data loading operations in onCreate() or onCreateView(), such as loading from local or server. In most cases, this will not cause any problems, but when you use ViewPager + Fragment, the problem will come. At this ...

Posted by ghornet on Mon, 21 Oct 2019 00:53:39 -0700

A comprehensive note about Android getting operators

Time of publication: October 20, 2019 Content overview This article will give the methods of getting operators on Android, the differences of several similar methods, and the effective ways of getting operators in the case of multiple cards. Finally, a method that does not need to request the device identification code to obtain the operator in ...

Posted by The Wise One on Sun, 20 Oct 2019 04:17:25 -0700

okhttpClinet set trust certificate

1. There are two types of certificates @1. The certificate purchased from the certification authority (each certificate purchased by our company requires 4000 yuan, TMD, rather than renting an additional server). If the server uses such a certificate, it can directly ignore the certificate for the m ...

Posted by joey3002 on Sat, 19 Oct 2019 08:35:18 -0700

[Springboot] Springboot integrated email service (HTML / attachment / template QQ, Netease)

introduce E-mail service is one of the common services with many functions. It can send activities and marketing advertisements to users externally, and send system monitoring reports and alarms internally. This article will introduce how spring boot integrates the mail service and give the configuration of different mail service providers. As ...

Posted by jnewing on Fri, 18 Oct 2019 23:08:39 -0700

appium automation -- pageobject mode 02

Directory structure changes: 1. The Android client.py script has no changes: #AndroidClient.py from appium.webdriver.webdriver import WebDriver from appium import webdriver class AndroidClient(object): driver:WebDriver @classmethod def installApp(cls)->WebDriver: caps={} ...

Posted by hossfly007 on Fri, 18 Oct 2019 07:51:28 -0700

Using code to send SMS

Interface specification /** * initialization *@ param serverIP required parameter server address *@ param serverPort required parameter server port *@ param softVersion required parameter REST version number */ REST($serverIP,$serverPort,$softVersion) /** *Set primary account * *@ param AccountSid master account *@ param ...

Posted by fredyap1234 on Thu, 17 Oct 2019 12:54:51 -0700

Horizontal video and page interception of "applet JAVA practice" applet (59)

There are two situations when the mobile phone is shooting video. The mobile phone is horizontal and vertical. If it's horizontal, we can hold the mobile phone vertically to watch the mode, including buffeting, fast hand. Their solutions are to appear black and wide up and down, and compress the video in equal proportion. I also refer to the o ...

Posted by tigomark on Thu, 17 Oct 2019 11:30:25 -0700