Binder Connection Pool - teaches you how to better manage your AIDL

AIDL is a very common IPC method in Android development. Normally, each AIDL service corresponds to one service.If we have 20 AIDL services, don't we start 20 services?Not to mention the usage of mobile resources by 20 services, just code management is messy. Is there a good solution?Of course, that's what this article is about - the Binder c ...

Added by adeelzia on Tue, 16 Jul 2019 19:02:00 +0300

UILabel Related Property Settings

stay iOS UILabel is a commonly used control in programming. Here is a way to set the relevant properties of UILabel. Many iOS 6 programming starts with storyboard, and when UILabel is used, controls are dragged into storyboard to generate implementations. If you want to use code in - (void)viewDidLoad, such as [_label]. InititWithFrame ...

Added by Hafkas on Mon, 15 Jul 2019 23:21:40 +0300

Css text ellipsis style (single/multiple lines)

Copyright Statement: This article is wintersmilesb101 - (Personal Independent Blog -) http://wintersmilesb101.online Welcome to visit) The blogger reprints the article. Original address. Design sketch The modern codes of the above effects are as follows: <!DOCTYPE html> <html> <head> <met ...

Added by dross613 on Mon, 15 Jul 2019 01:06:41 +0300

JAVA [Elaboration] Analysis RunTime error from the bottom, Cmd command execution is normal

Du Jinyang, the Superman of Ottoman, once said, "It is better to perish outside the law than to live in it." Maybe you will often encounter the following problems in development, but Baidu Google can not come out, bloggers trample on the pit to share with you: Error CreateProcess error=2, ______________________ JAVA cmd ...

Added by skroks609 on Sun, 14 Jul 2019 23:42:17 +0300

Notes on the Use of input Tags in Android

Notes on the Use of input Tags in Android Recently encountered a demand, html page has a <input type="file"/> tag to call the client's photo taking and photo selection function, in iOS can be normally set up to take photos, select photos. But there's no response on Android, and that's what I expected. Of course, I'll find ...

Added by GoSharks on Sat, 13 Jul 2019 22:47:39 +0300

Java Basic Tutorial - Regular Expressions

Regular Expression Regular expressions are templates for matching strings. Regular expressions are not limited to a particular language, but differ slightly in each language. The main objects used are: java.util.regex.Pattern: Compiled representation of regular expressions java.util.regex.Matcher: Depending on the Patterns object as a matching ...

Added by cashflowtips on Fri, 12 Jul 2019 22:36:31 +0300

Android homemade SwitchBar (with resources)

After several days of tossing and turning, this App has basically been completed. Part of it is a custom SwitchBar. I have seen many other people's solutions online. They are all based on the system's own SwitchBar. They just modify some background image resources or something. The effect is not very ideal. The following is my solution. First p ...

Added by jtjohnson260 on Thu, 11 Jul 2019 23:56:11 +0300

Glide combines Okhttp cookie management to realize the function of picture verification code and short message verification code for registration requirements

brief introduction There is a need to use cookie to identify the current mobile phone and obtain the verification code of short message on the function of registration. The process is like this (a bit pitted, csdn doesn't seem to be able to draw the following figure with code): At this point, the problem arises. We need to get the Cookie ...

Added by dunhamcd on Thu, 11 Jul 2019 00:34:28 +0300

Method of Android adapting bottom virtual keys

Recently, when adapting the project, it was found that some of the mobile phones (such as Huawei Mobile Phone) had virtual keys at the bottom. Because of the existence of virtual keys, some of the interfaces were blocked. Because of the need for full screen display, the virtual keys hiding method was called to hide them. However, the following ...

Added by mahakmx on Wed, 10 Jul 2019 23:20:46 +0300

VIII. Detailed Service

1. Service and process priorities 1.1 What is a service? windows services: no interface, long-running applications in the background; android services: a component of the application, no interface activity, long-term running in the background; Process: It is the carrier of application running. The relationship between processes and appl ...

Added by nmal on Mon, 08 Jul 2019 23:00:19 +0300