Future-Proofing Your Apps

樊运乾
2023-12-01
Future-Proofing Your Apps

开发android应用时必须保证应用不会在更新平台时出现问题. 以下列出开发过程中应避免的5种方式,可以将之称为"anti-patterns".

Technique to Avoid, #1: Using Internal APIs —— 使用内部APIs
Technique to Avoid, #2: Directly Manipulating Settings —— 不经用户许可直接修改设置
Technique to Avoid, #3: Going Overboard with Layouts —— 滥用Layouts
Technique to Avoid, #4: Bad Hardware Assumptions —— 错误的硬件假设
Technique to Avoid, #5: Incautious Rotations —— 滥用Rotations


详情请见: http://developer.android.com/resources/articles/future-proofing.html
 类似资料: