****
Google engineers analyze Android system architecture
http://www.oschina.net/question/12_13318
Android is not a canonical or distributed version of the traditional Linux style or a series of reusable component integrations, and Android is a software block for connecting devices .
The Dalvik virtual machine only executes. dex
APK is a compressed folder
Android manifest--interface between app and Android system
&&&&
1-Android threading model and Asynctask
http://www.oschina.net/question/4873_24644
Android provides several ways to access the UI thread in other threads.
Activity.runonuithread (Runnable)
View.post (Runnable)
view.postdelayed (Runnable, long)
Hanlder
eg
New Thread ( new Runnable () {
Public void run () {
final Bitmap b = loadimagefromnetwork ();
Mimageview.post ( new Runnable () {
Mimageview.setimagebitmap (b);
});
}
}). Start ();
This method is more cumbersome
Android offers a tool class: Asynctask, more Simple
You can also use callback to make callbacks after the picture is loaded
Android Knowledge Grooming