Android and android Official Website

Source: Internet
Author: User

Android and android Official Website
1 handler message loop messageQueue
Processing


2 fragment Lifecycle


3 ContentProvider


4 WebView


5 BroadCastreciver Broadcast


6. Obtain ContentProvider ContentReciver from the address book
Obtains the user's profile picture and mobile phone number.


7. Incorrect ListVIew Image
Think about it:
GetView () Check the source code




8 ListView optimization:
Reuse of convertview




9 service
Methods:
First
StartService ()
Second
BindService ()


10 AsyncTask () asynchronous task
Common Methods
DoinBackground () processing sub-Thread
OnUpdateExcute ()
OnPostExcute ()


For example:
Private class DownloadFilesTask extends AsyncTask <URL, Integer, Long> {
Protected Long doInBackground (URL... urls ){
Int count = urls. length;
Long totalSize = 0;
For (int I = 0; I <count; I ++ ){
TotalSize + = Downloader. downloadFile (urls [I]);
PublishProgress (int) (I/(float) count) * 100 ));
// Escape early if cancel () is called
If (isCancelled () break;
}
Return totalSize;
}


Protected void onProgressUpdate (Integer... progress ){
SetProgressPercent (progress [0]);
}


Protected void onPostExecute (Long result ){
ShowDialog ("Downloaded" + result + "bytes ");
}
}


11 Volley


12 XUtils


13 HttpClient
Get Post


14 Json Parsing Method
Which of the following types are available:
Org. json
Gson
FastJson


15 XML Parsing Method
Dom Tree
SAX
Pull


16 Intent Methods


17 Activity Lifecycle


18 ShareReferrence


19 what is Base64?


20. Encryption Method: what you know


21 serizaable serializable


22 XMPP


23. Custom View
Bar Chart
Pie Chart


24 JPush


25 determine the network connection


26. Audio


27 videos


28 VIewPager


29. Image Cache
Secondary Sampling


30 Viewpager and horzitalScrollView


31 layout_gri.pdf position of the current sub-space relative to the parent Control

Grimace's internal content


32 layout_weight weight
Divide the remaining controls equally.


33. SQL database
Supported types:


34 event distribution mechanism


35 international principles

36. Internationalization principles
When the mobile phone starts, it detects the language of the mobile phone,
Load the xml file at the end of en. If not,
The default xml file is automatically loaded.


37 Baidu Map


38 Java internationalization?
Local Localization
Property File












What language is used for Android software development?

What else does Javascript proficient android ahan.

What language is used for Android software development?

What else does Javascript proficient android ahan.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.