Recent Posts
-
Automated unit testing for maintaining object method contracts in Java?
When developing Java applications, I often rewrite object methods (usually equals and hashcode) I want some ways to sy…… -
Java – MySQL does not reconnect with JNDI Tomcat 6
I am using JNDI and Tomcat6 to manage my MySQL connection, my Catalina / domain com / ROOT. XML includes: <Resource…… -
Java – can I get the SQL alias of the connection table of Hibernate sqlrestriction?
I have a person class that has an alias for a collection of strings that represent additional names that people may go…… -
Does it make sense to use a simple framework for Java Web applications?
I have done a lot of Java Web development using JSPS and servlets, and I find this method direct and flexible Some of …… -
Java – performance overhead of AOP
I wonder if there are any major performance problems if AspectJ is used to intercept every (or most) method in the app…… -
Why doesn’t Java convert int [] to integer []
When I do the following things, >Arraylist1 – contains an element that is an int []. > Arraylist2 – not compilin…… -
Java – things to consider when building a framework
We are planning to build a framework: a cost estimation framework that will be used in all areas of our organization T…… -
Java – how to disable automatic updates in Hibernate / JPA
Can I stop hibernate from automatically updating persistent objects? @Transactional public ResultTO updateRecord(R…… -
Java keylistener stutters
I make a very simple table tennis game in Java. I'm using keylistener to do this I want it, so when the user presses t…… -
Java – the easiest way to check whether a string consists of unique characters?
If a word consists of unique letters (case insensitive), I need to check Java Because the direct solution is boring, I…… -
Java – exception: zlib input stream ended unexpectedly
There is a problem with gzipinputstream or gzipoutputstream Read the following code (or run it to see what happens): d…… -
Java – the easiest way to check whether a string consists of unique characters?
If a word consists of unique letters (case insensitive), I need to check Java Because the direct solution is boring, I…… -
Java – prevent duplicate activities
So I'm both a novice in Java and creating Android applications, but not a novice in programming I've read most of deve…… -
Java uses machines to send keystrokes to humans
I know that robot class can be used to send keystrokes in Java, but is there any way to specify the target process whe…… -
Error classes in Java
I try to understand the error class in Java I have a good understanding of the exception class, but I can't find the c…… -
Java – prevent duplicate activities
So I'm both a novice in Java and creating Android applications, but not a novice in programming I've read most of deve…… -
Android enables camera shooting, selection and image clipping
Some recent learning experiences: Function realization: after clicking the round avatar, you can upload the album or t…… -
Customize popupwindow in Android to realize pop-up box with animation effect
Use popupwindow to realize pop-up box with animation effect First, customize popupwindow R.layout. lost_ pop_ Menu fil…… -
Summary of problems in Android easeui 3.0 instant messaging
0. Needless to say about the registered account. 1. Create application and obtain appkey 0. Create an application 1. F…… -
Implementation method of “immersive” status bar effect above Android 4.4
What is an immersive status bar? Immersive status bar means that the color of the status bar changes with the color of…… -
Android seekbar control usage details
MainActivity. java activity_ main. xml The above is all about the detailed usage of Android seekbar control brought by…… -
In Android, click listview to change the color of item and set listselector to be invalid
This is the same problem. Clicking item in listview will change the color, because listview sets the default listselec…… -
Are you hungry? Implementation of listview linkage of ordering interface
In the last article, I introduced the linkage effect of two listviews in the order interface It mainly realizes how th…… -
Android implements an in-depth understanding of day and night mode
In this article, three schemes for day / night mode switching are given. The combination of the three schemes may lead…… -
Usage of Android datepicker control
As follows: The above is all about the usage of Android datepicker control brought by Xiaobian. I hope it can help you…… -
Android imitates Sina Weibo, QQ space and other posts (1)
Textview is usually used to display ordinary text, but sometimes it is necessary to set the style and event of some of…… -
Android custom view to realize circular rotating disc in QQ music
Circular rotating disc in QQ music Idea analysis: 1. After measuring the width and height of the entire view in onmeas…… -
Implementation process of Android 6.0 Bluetooth communication for Android adaptation
Note in advance: Android Bluetooth needs to locate the permission application. It can only be used after the user manu…… -
Basic learning of frame animation of Android animation
preface In Android, there are two ways to implement Animation: tween animation and frame animation. Gradient animation…… -
Android get HD app icon code sharing
There is only one way for Android to obtain HD app icons. The details are as follows The above is the whole content of…… -
Android custom view implementation method of click and double click events
Custom view, 1. Customize a runnable thread toucheventcountthread to count the hits within 500ms 2. invoke the thread …… -
In depth analysis of the difference between service and thread in Android
Service is neither a process nor a thread. The relationship between them is as follows: Some friends may ask, since it……