Q:assets与res/raw的不同? [[BR]] A: 简单来说assets用于存放需要打包到应用程序的静态文件,以便部署到设备中,支持任意深度的子目录,这些文件不会生成任何资源ID,[[BR]] 访问的时候需要AssetManager类,使用/assets开始(不包含它)的相对路径名。 [[BR]] {{{ AssetManager am = null; am = getAssets(); InputStream is = am.open("filename"); }}} res/raw中的文件会被映射到R.java文件中,访问的时候直接使用资源ID即R.id.filename;[[BR]] {{{ InputStream is =getResources().openRawResource(R.id.filename); }}} ---- Q:Android异步处理方式? 优缺点[[BR]] A: 处理一:使用Thread+Handler实现非UI线程更新UI界面[[BR]] 处理二:使用AsyncTask异步更新UI界面[[BR]] 处理三:Handler+Looper+MessageQueue[[BR]] 处理四:异步多线程类的封装,模拟android AsyncQueryHandler 这个类封装,这样代码比较简洁,一般命名为[http://www.cnblogs.com/xitang/archive/2011/09/21/2184452.html AsyncWorkHandler][[BR]] ---- Q: 要不要通过标注缩减初始化代码?像 [https://github.com/roboguice/roboguice/wiki roboguice],[https://github.com/excilys/androidannotations/wiki AndroidAnnotations], [http://jakewharton.github.io/butterknife/ butterknife][[BR]] ---- Q:是否需要是用DAO[[BR]]