Common tools used in development - obtaining unique identification of devices, UDID, UUID, keychain, saving UUID, judging network type, etc.

UDID Full name: Unique Device Identifie Description: UDID, the device unique identifier, is the unique number of each iOS device except the serial number. UDID is only device-related. It is used to distinguish each unique iOS device (including the iPhone, the iPad, etc.) and consists of 40 characters of letters and numbers. Functi ...

Posted on Thu, 20 Dec 2018 09:21:05 -0800 by sfarid

iOS error terminate_handler unexpectedly threw an exception

Today I met a very wonderful pit, but I have to admit that it is also a bug. Because I feel that this is probably one in ten thousand chance of stepping on a pit, so I want to record this. If there's anyone like me who's been pitted for no reason, hey, hey............................................. In the morning, a company girl c ...

Posted on Thu, 20 Dec 2018 07:00:05 -0800 by jonstu

Zero-base python brush leetcode -- 2. Add Two Numbers

Algorithms are very important, but you need to learn python every day, so you want to use python to brush the algorithmic problems of leetcode. Let's start the zero-base python brush leetcode tour with me. 2. Add Two Numbers image.png First, let's skip some of python's basics. If you're not a little white, please skip it directly. linke ...

Posted on Wed, 19 Dec 2018 01:33:04 -0800 by donald

Differences in UI manipulation effects between Handler.Post(Runnable) and View.Post(Runnable) in Source Parsing Activity Lifecycle onResume

In general, there will be a need to get the size of Ui control in Activity startup or refresh data after the UI drawing is completed. We all know that after the UI drawing is completed, the timing is the best, and it will not block the main thread leading to the failure of Carton or UI control parameter acquisition. May ...

Posted on Tue, 18 Dec 2018 16:39:04 -0800 by billynastie

Android System (57) - - Functional Introduction and UI Layout Implementation of Android System UI-System UI

Function Introduction and UI Layout Implementation of Android UI-System UI Preface Android In the process of ROM development, it is inevitable to involve the modification of SystemUI. Some work has been done in this area before. Now, I am going to introduce SystemUI according to the following chapters, so as to make a hol ...

Posted on Mon, 17 Dec 2018 20:48:04 -0800 by esukf

JQuery Mobile Learning Notes (6) - jQuery Mobile API

The introduction of the page section is basically over. With the framework, we need to consider data communication and interaction in the page. jQuery Mobile (JQM) uses JavaScript to communicate with frameworks and API s for content management. 1. Document events (document).bind('mobileinit', function() { &n ...

Posted on Sun, 16 Dec 2018 12:24:03 -0800 by noguru

Play Android Camera Development (2): Preview Camera Basic Photo demo with TextureView and Surface Texture

Google has launched TextureView since Android 4.0. Why? In order to make up for the shortcomings of Surface View, and on the other hand, to balance GlSurface View, of course, this is my guess. The relationship between TextureView, Surfaceview, SurfaceTexture and GLSurfaceView will be specially analyzed after we launch GLSurface ...

Posted on Sun, 16 Dec 2018 09:27:04 -0800 by greencoin

js Baidu Map Control API Geolocation Control to locate _bmap api according to search keywords

//Create map objects and initialize them. var mp = new BMap.Map("map_container",{     enableHighResolution: true //Whether to turn on HD? });     var point = new BMap.Point(116.404, 39.915);     mp.centerAndZoom(point, 14); //Initialize maps mp.enableInertialDragging(); //Open the relationship drag. mp.enableScrollWheel ...

Posted on Sat, 15 Dec 2018 14:39:04 -0800 by installer69

Android Notes u RxJava is too hard to understand? Implementation of RxJava mini by callBack

Every time I read RxJava articles, I can't help but talk about the observer mode, which is always confused. Later, when I saw a blog written by a god-man, I realized that the most intuitive code representation of the so-called observer pattern was the OnClickListener of the control. Here is what he said: The observer model of the program is ...

Posted on Sat, 15 Dec 2018 03:42:03 -0800 by mccdave

Reading Notes Mobile Shader Adjustment

Written in front In the next two chapters, we will learn how to make Shader perform well on different platforms. Instead of discussing any particular platform, we're going to decompose the parts of Shader that we can adjust and discuss mobile platform optimization in general. This includes an introduction to Unity's built-in variables, how to ...

Posted on Fri, 14 Dec 2018 09:12:03 -0800 by ahmadajcis