Basic use of Java enumeration classes, java enumeration classesThe enum type is a new feature of Java 5. It is a new type that allows constants to represent specific data fragments, and all are expressed in the form of type security.
1. Use of
Android implements three full screen methods without a title bar: android title bar
1. Use Java code
Run the following command before setContentView:
RequestWindowFeature (Window. FEATURE_NO_TITLE); // hide the title bar getWindow (). setFlags
Android Volley basic use/set HTTP Request Parameters, apikey, and androidapikey
Recently I am working on an Android news client, and I feel that I have gained a lot.
Here is how Volley obtains network data.
Volley is a network communication Library
Android touch event dispatching process, androidtouch
Http://blog.csdn.net/xyz_lmn/article/details/12517911
Use the flowchart to understand the touch event dispatching process.
Http://blog.csdn.net/stonecao/article/details/6759189
At the code
GreenDao 3.0 for Android data storage (I), androidgreendaoPreface:
Early this morning, I received a message officially released by GreenDao 3.0. Since its access to GreenDao in 2014, the GreenDao framework has been used in the project to process
Java Singleton mode, Java modeYesterday, the company planned to use some of the functions of the project in the form of sdks for the products of other companies, so we had to re-study the singleton model.
Why Singleton
1. There is only one object
Android LiteOrm, androidliteorm1. What is LiteOrm?
LiteOrm is a small, powerful android ORM framework class library that is twice as powerful as the system's built-in database. developers can add, delete, modify, and query databases with a single
Displays the effect of the ListView floating header.
First look at the effect: the requirement is to slide the list. Some of the Views (the number of fans and the number of followers) do not disappear when they slide to the top end, but stay in the
Development of flying and shooting mobile games like thunder fighters-game introduction and thunder fighters
One day in a certain month, I joined the mobile game development army under the "Temptation" of my friends and dreamed of a monthly flow of 1
Development of a flying and shooting mobile game similar to thunder fighter-the entrance of the game, thunder fighterGame portal AppDelegate
After the game is started, the class AppDelegate is first instantiated. In this class, we need to modify two
Android Tab and androidtab
Original article address: Http://blog.csdn.net/crazy1235/article/details/42678877
TabActivity is replaced by fragment after API13, so it is not recommended to use
Effect:Click the Avatar label to switch.
Code:
Android Tab and androidtab
Original article address: Http://blog.csdn.net/crazy1235/article/details/42678877
Effect:Slide switching and automatic switch.
Code:
1. The layout interface uses the ViewPager label to switch between left and right
Android Tab and androidtab
Original article address: Http://blog.csdn.net/crazy1235/article/details/42678877
Effect:
Code:
1. Layout: Use LinearLayout to deploy labels, and then use FrameLayout to deploy Fragment.
View event distribution mechanism, view event DistributionThe so-called event distribution is actually the distribution process of MotionEvent events, that is, when a MotionEvent is generated, the system needs to pass the event to a specific View,
Use/serialize data of Android Parcelable interface, androidparcelable
First, we need to know that there are two Android serialization methods. One is to implement Serializable, which is an interface supported in JavaSE, later, google launched the
Android Tab and androidtab
Original article address: Http://blog.csdn.net/crazy1235/article/details/42678877
Effect:Slide switch; click Label Switch.
Code:
1. Layout: Use LinearLayout to deploy labels, use ViewPager to deploy Fragment, and use
Android jni is a common error in Android jni development.
Error 1: java. lang. UnsatisfiedLinkError: Native method not found: the local method is not found.
1. The local function name is incorrect.
2. The System. loadlibrary is not called when I
Android jni simple development process and androidjni Process
Android jni helloworld describes how to develop jni helloworld.
① Write the java code native to declare the local method
② Add local support right-click Project> andorid tools> add native
Android java transmits int type data to C and androidint
This article is based on the development process in "Android jni simple development process" to implement a java to pass int type data to C
Create a project for simple layout
Create JNI.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service