ViewPager guide page, viewpager Guide
I. Overview
ViewPager is a class provided in the android-support-v4, which is a container class and is often used for switching between pages.
This article describes the most basic application of ViewPager:
Android App monitors the keyboard buttons in three ways and changes the keyboard's bottom right corner to determine the key style, androidapp
ActionNone: Enter key. Press the button and move the cursor to the next line.ActionGo: Go,ActionSearch:
Android software development basics and android software development1. android features: openness: a foundation of open source, convenience: Equality: 2. four basic components of Android are Activity, Service, Content Provider, and BroadcastReceiver.
Android implicitly activates another Actitity, androidactitity
The previous article "Android explicit activation of another Actitity" concluded that explicit activation of another Actitity has some limitations and drawbacks.
This article
Android learning-RecyclerView Quick Start, Android recyclerview1. Add a JAR package
First, I felt this stuff was so complicated that it was fast and convenient without ListView.
Add a android-support-v7-recyclerview.jar package to a project
This
Android implicit intent and explicit use scenario, android intent
This article implements an application with implicit intent to activate the text message application.
Public void click4 (View view) {Intent intent = new Intent (); intent.
Retrofit2 tutorial and Android Network Architecture (original), retrofit2android
Squareup has been releasing movie fit2 for some time. The current version is stable and there is no big pitfall. The tutorial on the network is either too simple, just
Android6.0 source code analysis: Capture process analysis under Camera API2.0, android6.0api2.0
The initialization and preview processes of Camera2 are analyzed in detail. This article will analyze the capture process of Camera2.
When preview is
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
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
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
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:
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,
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 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.
HandlerThread creates an asynchronous background thread and handlerthread Asynchronously
HandlerThread has the following advantages:
1. Create a background asynchronous thread, and you can discard a task as needed, which is flexible to use;
2. The
Android calls logcat and androidlogcat in C code
This article adds the function of calling logcat in C code to "passing an array of int type to C in Android java ".
Add the following content to the Android. mk file:
LOCAL_LDLIBS + =-llog
Add the
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