Recent Posts
-
Example demonstration of Android fragment
Fragment is a new concept in Android honeycomb 3.0. It is introduced in detail in how to use Android fragment. This ar…… -
Android creates cool movie ticket online seat selection app online seat selection function
I don't know if you've ever used it. Taobao movie client (Taobao ticket) has bought movie tickets. Looking at the onli…… -
Android personal financial tool 6: display bill details
In the display of bill details in the previous section, the display of bill details has been basically realized. This …… -
Android uses Android wheel to realize the three-level linkage of provinces, cities and counties
Today, I had nothing to talk about with the group. A friend said that the Android wheel control was a built-in control…… -
Listview in Android is bound to checkbox to realize the function of adding and deleting all (Demo)
The listview control is still very complex and should be commonly used in the project, so I wrote a small demo to talk…… -
Example code of loading pictures into memory in Android
This article demonstrates how to load pictures into memory in Android First, design the interface: The code is as foll…… -
Android high imitation IOS wheel selection control
Recently, according to the needs of the project, I sorted out a relatively comprehensive wheelview use control. To bor…… -
Android implements a custom gorgeous water ripple effect
Let's see the effect first Simulate the effect of water ripple: click the screen and a ring will appear, with radius …… -
Android code JIT friendliness detection tool
During the weekend, I wrote a tool to detect the JIT friendliness of Android code, named droid jitchecker. I hope it c…… -
Java – extract a sequence of bits of any length from the byte [] array
I am looking for the most efficient way to extract a sequence of (unsigned) bits of any length (0 < = length = 16) …… -
Why is there a warning in this Java generic method definition?
I noticed that if I use generic method signature to complete something similar to the return type of common type, it w…… -
Java – algorithm for generating random numbers of Size X
In my mobile application, I must provide users with a random and unique x alphanumeric code so that users can reply wi…… -
Java – how to monitor c3p0 connections
I used hibernate in the JBoss war and c3p0 for connection pool. They are all in a hibernate in my classpath cfg. Confi…… -
Java – how do I get an object / class to tell me which jar file it comes from
In eclipse, an impossible class is being loaded In debug mode, I can pause it and see the call to class A.B.C, but cla…… -
Java – using the interactive console (debug view) in eclipse
Some threads [1] ask how to use the interactive console in eclipse because you cannot enter anything in this console I…… -
Java synchronization is based on parameters
I am looking for a way to synchronize the method based on the received parameters, as follows: public synchronized voi…… -
Java exec() does not return the expected result of the pipe connect command
I'm calling a command line program connected through a pipe All of these can run on Linux My approach: protected Strin…… -
How to create SQL from Java Get the name of the day from the timestamp object?
How to start Java SQL from Monday and Tuesday Get the name of the day in the timestamp object? Solution You will use J…… -
Java – from system What is the worst resolution that nanotime can expect?
I'm writing software that requires microsecond resolution or better timestamps I'm planning to use system Currenttimem…… -
Java property object to string
I have a Java property object that I load from a string in memory, which was previously from the actual The properties…… -
Java – how to add jtextfield to the menubar of JFrame?
I've been trying to reload JMenu and put some custom code to support jtextfield, but it's not going well My main goal …… -
Java – find override method
In eclipse, what methods can you find now to override method declarations? Scenario: when I view a method in the base …… -
Java – Cyrillic characters are not displayed in Jasper Report PDF
I tried to display Ukranian characters as PDF files in Jasper reports But it is not belittled in PDF format When I exp…… -
Java – JSON does not contain properties of nested objects
I have the following courses: public class Container { private String name; private Data data; } public class…… -
Java – file extension for serialized objects
What is the most appropriate file extension when saving serializable objects to disk? FileOutputStream fos = null; Obj…… -
Java Swing animation looks messy How to make it look pro?
Update: semiconplex animation swing timer = trainwreck The ultimate source of the problem is the Java timer, both swin…… -
Java – how do I stop the task in the scheduledthreadpoolexecutor once I think it is complete
I have a scheduledthreadpoolexecutor, and I schedule tasks to run at a fixed rate I want the task to run with the spec…… -
Java – how do I know if I press shift?
In my game, I hope to use the left and right shift keys for different functions In Java (or another language), is ther…… -
Java – inline class definition
I've seen several similar examples in Java, and I hope someone can explain what happened It seems strange to me that a…… -
How can GDB be used to debug Java programs?
When GDB is used for Java debugging: >What is its practical use? > What are its limitations? > How does it co…… -
Can I remove generic type parameters from object constructors in Java?
In Java, you must write: Pair<String,String> pair = new Pair<String,String>("one","two"); It would be nice…… -
Using JPA in WebSphere to select all rows from the database
I try to implement a web service that uses open JPA to access the data layer I use WebSphere v7.0 0 and JPA 2.0 This s……