IOS iframe height adapts to content

Problem: on iOS, a page is nested by iframe. An element displayed at the bottom of the page in the content page cannot be displayed. The position of this element is fixed. Reason: because the height of Safari's iframe under iOS will adapt to the content of the page, resulting in the height of iframe is too high (that is, the h ...

Posted by mrhalloran on Sat, 04 Jan 2020 18:37:17 -0800

android hot update (no framework)

I. Preface Recently, I saw the andix hot fix framework of Alibaba, but it seems that it can't support all devices. So, I need to manually implement Android hot fix once, and find out how to achieve it. Two, principle When Java's virtual machine JVM runs the code, it loads the. Class bytecode file, while Android's Dalvik/ART ...

Posted by baselineace on Sat, 04 Jan 2020 11:58:13 -0800

PHP+MYSQL transaction processing

For PHP + MYSQL transaction processing, first of all, transactions must be supported during database design, so when designing data tables, InnoDB is selected as the database engine. If the database engine selected does not support transactions, such as MyISAM, it can be locked through tables Here is a simple example of a tran ...

Posted by ceci on Sat, 04 Jan 2020 10:47:28 -0800

20180828 mobile assistant background wake-up and WiFi intensive wake-up in Doze mode

1. Wake up phenomenon of mobile assistant in the background com.qihoo.appstore and com.tencent.android mainly wake up in the background through JobScheduler and SyncManager events. Because most of the previous broadcast events, such as network static broadcast and application installation static broadcast, have been canceled b ...

Posted by lukegw on Sat, 04 Jan 2020 01:22:06 -0800

jquery imitation mobile Alipay keyboard

Recently, I met a demand when I was making a project, that is to click the payment button on the mobile terminal payment page to pop up a payment keyboard, similar to that of Alipay. Because the project is just a mobile website, not an app, this function has to be implemented by the front end. If you don't say much, first look at the effect abo ...

Posted by Arenium on Fri, 03 Jan 2020 14:37:20 -0800

Detailed explanation and examples of Boolean operators of Rxjava2 Observable

Briefly: Requirements understanding: Among the many operators of rxjava, there are data transformation, filtering, etc., but sometimes there are some judging operations? For example, to judge whether all data of an Observable meets a specified condition, to judge whether an Observable will emit a specified value, etc., the answer is yes. Rxjava ...

Posted by jenni on Fri, 03 Jan 2020 06:29:05 -0800

Details and examples of error handling operation of Rxjava2 Observable

Briefly: Requirements understanding: In Rxjava, when an exception occurs in the data processing and distribution, the observer will receive an Error notification. What if you don't want to send the exception notification and handle it yourself? Of course, the answer is yes. In Rxjava, many operators can be used to respond to the onError notific ...

Posted by vinaip on Fri, 03 Jan 2020 02:15:43 -0800

Wechat applet (4) canvas drawing and saving to mobile album and fileText drawing text for automatic line wrapping

thinking First of all, prepare a picture. Both the local picture and the network picture can be used as your background picture. Currently, the applet does not support screenshots. Here are the local pictures. wx.createCanvasContext(ා get the ID of the canvas) will be used drawImage(ා draw the picture onto the background pict ...

Posted by s0me0ne on Fri, 03 Jan 2020 00:27:33 -0800

Display of Huanxin's Avatar and nickname

Display of Huanxin's Avatar and nickname - based on Easeui I am a college student. I used Huanxin to participate in the competition. I summarize and record the display method of Huanxin's head image and nickname (suffering). 1. First of all, you need to save your nickname and avatar locally when you log in successfully. When ...

Posted by jacobelias on Thu, 02 Jan 2020 23:29:42 -0800

Details and examples of Rxjava2 Observable

Briefly: Several main needs Create an Observable directly Combining multiple observables Perform transform operation (transform operation) on the data transmitted by Observable Take a specific value from the data transmitted by Observable (filtering operation) Forward partial value of Observable (conditional / Boolean / filter operation) Evalu ...

Posted by vandutch on Thu, 02 Jan 2020 16:23:32 -0800