???????????10????????(?????????????????????????????????ο???)

????1.??????Android????????

??????Android???????????????????????????ó??????ó???????????п???linux?????

????2.??android????????????????

????????Android?У??????????????????????FrameLayout(??????)??LinearLayout (???????)??AbsoluteLayout(????)??RelativeLayout(??????)??TableLayout(?????)??

????(1)FrameLayout ??????????????е????????????????????????????????????Щ???????????е?λ??????????????????????????????????????????????

????(2)LinearLayout ????????????ó????г??????????????????????????????е?????????????????????????????????λ.(???????)

????(3)AbsoluteLayout ??λ????????????????????λ????????????(0??0)??????x???????????Y????????????λ?????android:layout_x ?? android:layout_y?????????

????(4)RelativeLayout ??????????????????????????????????????????????λ?á???CSS??????????

????(5)TableLayout ??????????Html???Table.???TableRow???????????TableRow??????У?TableRow????????????????????????

????3.??android????洢?????

??????Android????5?????洢?????

????(1)???SharedPreferences?洢????;????Android?????????洢?Щ????????????????????????XML?????????洢???豸?С??????????????????????????????????á?

????(2)????洢????;????洢????????????????????Android?ж??/д??????????????Java?????I/O????????????????????openFileInput()??openFileOutput()??????????豸????????

????(3)SQLite?????洢????;SQLite??Android????????????????????????SQL???????????????????????????

????(4)???ContentProvider?洢????;?????????ó???????????????????????????????????????????Content Provider??????????????

????(5)????洢????;??????????????????洢????????(?洢)??????(???)????洢?????????е??????????

????4.Android??Activity?? Intent?? Content Provider?? Service??????????

??????Activity?? ???????????android??ó?????????????????????????????????????????????????????????????????ж?????

????Intent?? ???????????????????????????????????????????????

????Content Provider????????????android??ó???????????????????浽?????SQLite??????У????????κ???Ч???豸?С????????????????????????ù????????????????????????????

????Service????????????ν??????????????????????????

????5.View?? surfaceView?? GLSurfaceView????????

??????view??????????????UI????????????棬????????

????SurfaceView ??view????????????????????????μ?????и????????????????????view??

????GLSurfaceView ??SurfaceView??????opengl ????

????6.Adapter???????????????Adapter????Щ?

??????Adapter?????????????????????????????????????Adapter??ArrayAdapter?? BaseAdapter?? CursorAdapter?? HeaderViewListAdapter?? ListAdapter?? ResourceCursorAdapter?? SimpleAdapter?? SimpleCursorAdapter?? SpinnerAdapter?? WrapperListAdapter??

????7.Manifest.xml??????????????Щ????

??????manifest?????????????package?????е??????

????uses-permission?????????package???????????踳???????ɡ?

????permission?? ???????????????????Щ????????package?е??????????

????instrumentation?????????????????package??????package???????????

????application??????package??application?????????????????

????activity??Activity?????????????????????????

????receiver??IntentReceiver?????application??????????????????????????????????????С?

????service??Service?????????????????????????

????provider??ContentProvider??????????????????????????????ó????????????

????8.??д??δ???(SAX?? DOM?? ????pull )??????XML?????

???????????????????XML?????

????????

????22

????????

????23

??????????????Person??javaBean???????????????????xml????

????publicclass Person {

????private Integer id;

????private String name;

????private Short age;

????public Integer getId() {

????return id;

????}

????publicvoid setId(Integer id) {

????this.id = id;

????}

????public String getName() {

????return name;

????}

????publicvoid setName(String name) {

????this.name = name;

????}

????public Short getAge() {

????return age;

????}

????publicvoid setAge(Short age) {

????this.age = age;

????}

????}