Changes between Version 3 and Version 4 of question_new
- Timestamp:
- 08/25/2014 04:25:59 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
question_new
v3 v4 1 Q:assets与res/raw的不同?[[BR]] 2 A: 简单来说assets用于存放需要打包到应用程序的静态文件,以便部署到设备中,支持任意深度的子目录,这些文件不会生成任何资源ID,访问的时候需要AssetManager类,使用/assets开始(不包含它)的相对路径名。[[BR]] 3 res/raw中的文件会被映射到R.java文件中,访问的时候直接使用资源ID即R.id.filename; InputStream is =getResources().openRawResource(R.id.filename);[[BR]] 4 5 1 6 Q: 要不要通过标注缩减初始化代码?像 [https://github.com/roboguice/roboguice/wiki roboguice],[https://github.com/excilys/androidannotations/wiki AndroidAnnotations], [http://jakewharton.github.io/butterknife/ butterknife][[BR]] 2 7 3 8 Q:是否需要是用DAO[[BR]] 4
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)