Android 6.0 Quick Request for Rights (more elegant based on RxJava2)

1. Preface Preface?Where is so much nonsense? Get straight to the point! 2. Rights to apply for Cough and cough, before we get to the topic, let's first know which permissions need to be applied for manually after Android 6.0. If you take the right medicine, it's the kingdom! group:android.permission-group.CONTACTS (Mobile Contact Rela ...

Added by mm00 on Thu, 27 Jun 2019 19:48:03 +0300

Cocos 2d-xFinal Project Trampling Record (Cocos Studio Control Acquisition, Character Mobility and Animation, Collision Detection, Background Music and Scene)

Cocos 2d-xFinal Project Trample Record We have to Tucao first, the overall framework of Cocos is very strong, but many details are not humanized, and the official documents are not keeping up with them. This leads to wasting a lot of time in some unnecessary pits. It is really not cost-effective. Record the end of the project and use cocos2d-x3 ...

Added by Adarmo on Thu, 27 Jun 2019 03:19:20 +0300

SnapKit Use Details

SnapKit functions as SDAutoLayout and Masonry (the predecessors) to achieve automatic layout of controls by constraints; it is more convenient to maintain than StoryBoard because of its code implementation. I think the automatic layout of iOS is very similar to the Relative Layout in Android, which determines the final size and location through ...

Added by sheen.andola on Thu, 27 Jun 2019 01:47:13 +0300

Android desktop suspension window effect realization, imitation 360 mobile guard suspension window effect

From: http://blog.csdn.net/guolin_blog/article/details/8689140 Hello, everybody. Today I'm going to give you a tutorial that imitates the effect of 360 mobile phone guard suspension window. Before we start, please allow me to say a few irrelevant nonsense. Unconsciously I found myself in contact. Android It has been nearly three yea ...

Added by Ashoar on Thu, 27 Jun 2019 00:30:21 +0300

H5 mobile adapter IphoneX and other models

Let's see what the iPhone X looks like first In the image above, the Iphonex model has two new areas on the head and bottom, so we need to make some adjustments to this type of model to make our webapp display easier.h5 mobile end page, the common layout is head + trunk + bottom three columns mode, the head and top are fixed positioning, the c ...

Added by 99degrees on Mon, 24 Jun 2019 19:05:58 +0300

Android Read and Write Files

Read and write files in Android RAM: Running memory, equivalent to computer memory ROM: Internal storage space, equivalent to a computer's hard disk Android phones must have SD card: external storage space, equivalent to the computer's mobile hard disk Not required Now the space that the phone has is all external storage, and then the phon ...

Added by rwoods on Sun, 23 Jun 2019 20:26:05 +0300

Android Development Notes (148) Custom Input Soft Keyboard

Text input on mobile phones is through the system's own soft keyboard, which can be Android's own, or a third-party soft keyboard such as Sogou input method. In most cases, the system's own soft keyboard has been enough, but there are always a few cases, the system's soft keyboard can not meet the requirements of developers, such as the followi ...

Added by gwolgamott on Sat, 22 Jun 2019 22:15:16 +0300

iOS-imitation sticker rolling (physical simulation)

Guide reading Simply use OC to write a small ball rolling effect;It's like a balance ball. GitHub address: https://github.com/wangliujiayou/WLBallView Welcome to Star. Worship rolling Get to the Topic - (Sensors) Sensor is an induction detection device, which has been widely used in smart phones to detect the information around the device. ...

Added by crash4o4 on Fri, 21 Jun 2019 22:56:54 +0300

A Simple Course for the Development of Wechat Programs

1. Get the AppID of the Wechat applet (Note that the AppID here is a special id for the widget. You can see it in the widget public number widget, without some functions of the AppID will be limited!) Login https://mp.weixin.qq.com In the "Settings" - "Developer Settings" of the website, you can see the AppID of the Wechat a ...

Added by treybraid on Fri, 21 Jun 2019 04:34:48 +0300

Read Android Source - Activity Thread at Cold Start

  The main methods of ActivityThread when creating applications with cold start are: main() -- 1. Open the message loop - 2. Notify Activity Manager Service 3. Add GC Watcher handleBindApplication() Create Loaded Apk Create Instrumentation Create Application -- 4. Call the onCreate() method of Application throu ...

Added by Cinquecento on Fri, 21 Jun 2019 04:11:24 +0300