Four major Android components: BroadCast and androidbroadcast
BroadCast is a powerful tool for cross-process communication provided by android.1. asynchronous onReceiver execution
@Nullable public abstract Intent
RadioButton and CheckBox, radiobutton
I have been engaged in database development for a long time. Forget it. Because I have been using a small language (PowerBuilder), let's talk about these two most common controls!RadioButton (single choice) and
AsyncTask Analysis in Android-androidasynctask
AsyncTask is a lightweight asynchronous class provided by android. It can inherit AsyncTask directly and implement asynchronous operations in the class,AndProvide interface feedback to the
Silicon Valley Social Networking 15-group details, Silicon Valley Social Networking 15 --
1) Page Layout
Group details .pngDelete model group details. PNGGroup members details .png
2) obtain the passed data
// Obtain the passed parameter
Android SharedPreferences storage, sharedpreferences
Concept 1
SharedPreferences is a lightweight data storage method in Android. SharedPreferences storage is mainly used to store some simple configuration information and store it in Map mode.
Lorule. prepare () and lorule. loop (), lorule. prepare
When do I need logoff?
Logoff is used to encapsulate the message loop in the android thread. By default, the next thread does not have a message loop. You need to call logoff. prepare () to
Silicon Valley social networking 14 -- select contact page, Silicon Valley social networking 14 -- Contact
1) Page Layout
2) Get a friend list
// Obtain the data List of all contacts contacts = Model. getInstace (). getDbManager ().
Silicon Valley social 10-session details page, Silicon Valley social 10-session
1) Page LayoutSession page .pngGroup faces page .png
2) create a session page provided by huanxin
// Create the fragmenteaseChatFragment = new EaseChatFragment ()
Destroys an activity.
It is easy to destroy an activity. Just click the return key (click it on your phone ). However, if you want to specify it in the program, it is actually very simple. Use the finish () method. In combination with the previous
Silicon Valley social networking 6 -- add Contacts -- send invitations to add friends, Silicon Valley 6 --
1. Search button Processing
// Go to the server to determine whether the currently searched user has userInfo = new UserInfo (name); //
Android development and learning-use ListView + BaseAdapter, androidbaseadapter
ListView
Is used to display the entries of a rowMVC Structure* M: model layer. Data to be displayed ---- people set* V: view layer. The user-viewed interface is ListView.
Reduce the input of mobile users and mobile users
Recently, due to a login and registration issue, the Project Manager argued with the company's project manager that a second Password confirmation is required during registration, in my opinion,
Git + coding.net record, gitcoding.net record
It has been useless for a long time. Some configurations are almost forgotten and recorded for future reference and memories.
First download the git plug-in, and then set the local project address on
Android Log and androidlog1. Android Log overview;
Output logs in the program and use the android. util. Log class. This class provides several static methods:
Log. v (String tag, String msg); // any message is output.Log. d (String tag, String msg);
Android Plugin and androidplugin
To do well, you must first sharpen your tools. The following describes some commonly used Android Plugin for development.
1. adb-idea
You can run the ADB command on the AS panel. However, if you are familiar with
MaterialRefreshLayout, swiperefreshlayout
The above introduces a more beautiful and powerful drop-down refreyout control than SwipeRefreshLayout: Android-MaterialRefreshLayout
1. xml
2. Java
Package com. frame.
ImageLoader, androidimageloader
1. Preparations
1) Import universal-image-loader-1.9.5.jar to project
2) create a MyApplication to inherit the Application and initialize ImageLoader in oncreate ().
Public class MyApplication extends Application {@
The road to Android reconstruction and design starts from the pop-up window in the prompt dialog box.
Encapsulate an independent pop-up window Module. the pop-up window here includes the normal Dialog mode pop-up box and WindowManager mode pop-up
Glide, glideandroid
1. IntroductionAt the Google Developer Forum held in Thailand, Google introduced us to a library named Glide, written by bumptech. This library is widely used in google's open-source projects, including the official app released
From configuration to use, GsonFormat plug-in configuration
Note: at present, most servers return data in json format, so if you are writing the corresponding entity classes during parsing, it will be out. Create a class and select Generate.
------
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