?????????????????洢
????????????????

????1. logcat
????2. Toast
????3. dialog
????4. Notification ????
??????? ?? ?????????    ????????
????????汾?? Notification notification=new Notication????
????Notification.Builder  : level  16?汾?????
??????????????棺
????RemoteViews
????????Android????
????1. ???????
????- ???????????????
????1. ??в??? ?? ??????????????????????????? ?????в???
????2. ??в??? ???????????????????????
????- ???????????? ?????????
????- ????????
????- ??????? ?? ?????junit ???????  ??apache
????- ???????
????- ??????  ????????????--?????????-??????
????- ?????????????
????1. ??????? ??????????λ????????????? ?????????
????monkey???? ??????????????????  ???????????????????
????adb ????????????
???????????????????  path=E:Androidadt-bundle-x86-32sdkplatform-tools;
????????linux shell?????У?
?????????У? adb shell
????# ?? moneky -p <????> count
????money -p cn.itcast.weixin  1000
????2. e????? ?????
????- ???????
????1. ????????
????2. ??????汾?????
????3. ????????android ???ο??????????
????2.Android???????
????- android ??????? ???????? Junit??? ???????????????
?????????????????裺
????1. ??????????д?????????AndroidTestCast????д???????
????2. ??AndroidManifest.xml  application??????????????
????3. ??AndroidManifest.xml  ???ò??????
????-  ????
????1. ???? ????????
????2. ????
????- ????  ??????????????????????????????д????
????- ???  ?? ??????????
????3. ???? ???if else
????4. ????????? getContext
????- ?????????????????????????  android test project
????????????洢????
??????????????洢

???????????洢?????
????????????е????????
?????????ж?????/data/data/<????> ????????????????????????洢??????????
???????λ??? /data/data/<????>/files
?????????
????Context.openFileOutput(String name?? int mode)
????????? ?????????????????FileOutputSteam??д??????????
????name ?? ????????????????????
????mode ???????????? private?? ????? ??????????????? append ??????????????
?????????洢??λ???/data/data/<????>/files ???????????????
????return?? FileOutputSteam
????Context.openFileInput(String name) ?????????洢?ж?????
??????????????????洢?ж?????
????name ???????
????FileInputStream
????context.getCacheDir() ??????????/data/data/<package name>/cache??
???????????File???? ??????У?
????context.getFilesDir() ??????????/data/data/<package name>/files??
???????????File???? ??????У?