SDK (Software Development Kit)

SDK is a collection of development tools used by software engineers to create application software for a specific software package, software framework, hardware platform, operating system, etc. It can be as simple as providing application programming interface (API) files for a programming language, but it can also include complex hardware that can communicate with an embedded system. SDKS also often include sample code, supporting technical notes, or other supporting documentation that clarifies questions for basic reference materials.

2. In the beginning, the collection of apis was called the SDK. For example, the collection of apis provided by the MAC was called the MAC SDK. Over time, SDKS now refer to middleware with one set of apis as input and another set of apis as output.

3. For example, Sina Weibo provides a set of apis in the form of Http requests. Since constructing Http requests is now a hassle, the “Sina Weibo iOS SDK” was gradually developed. This SDK encapsulates sina Weibo’s Http interface and provides a set of Objective C or Swift form interfaces.

Ii. System and SDK

1, Windows:

DLL (Dynamic Link Library) is also an executable file format. Unlike.exe files,.dll files cannot be executed directly. They are usually loaded by the.exe at execution time and contain some resources and executable code (code that executes API functions). To use an API function in a DLL, we must have a declaration of the API function (.h) and its import library (.lib), which is used to find the entry point of the API in the DLL.

So, in order to use an API function, we need to have a corresponding API. H and.lib files, and the SDK is a “toolkit” that provides a complete set of related files, samples, and tools needed to develop Windows applications. Because the SDK contains the necessary materials to use the API, people often refer to the development approach of writing Windows applications using only the API as “SDK programming.”

2. IOS (URL Scheme) :

IOS is a closed system. Apple chooses sandbox to protect users’ privacy and security. Apps can only access their own sandbox, but it also prevents proper information sharing between apps. A SandBox mechanism is a security system that states that an application can only read files in the folder created for the application and cannot access content elsewhere. This is where all non-code files are stored, such as images, sounds, property lists, text files, etc.

The application program through the design of each APP in line with apple’s uniform standard URL Scheme, to achieve information transmission. URL schemes are designed to make it easier for apps to call each other. If an App needs to provide a function or data accessible to other apps, a corresponding URL Scheme must be defined in the App. You can open the app via the system’s OpenURl via a urL-like link and pass some parameters.

Each URL must uniquely identify an APP. If the URL you set conflicts with the URL of another APP, your APP may not be invoked. The reason is that the URL Scheme of this APP has been registered in the system when the APP is installed. Then the system won’t call your APP because your APP’s URL scheme is overwritten.

3, Android:

To develop Android App on the Android platform, we must download the Android SDK from the official website, and then use the API provided by the SDK to call the system capabilities. For example, I call the system screen function of “always on” through the Android SDK. If there is no such tool provided by this toolbox, Then you can’t implement this feature.

The original link: www.jianshu.com/p/fb23ee306…