Android 设计思想
2010-06-17 03:29:00 来源:WEB开发网核心提示:radio, be sure to handle error conditions gracefully, and only fetch what you need. For example, don’t constantly retry a network operation if one failed. If it
radio, be sure to handle error conditions gracefully, and only fetch what you
need. For example, don’t constantly retry a network operation if one failed. If
it failed once, it’s likely because the user has no reception, so it’s probably
going to fail again if you try right away; all you’ll do is waste battery
power.
Users are pretty smart: if your program is power-hungry, you can count on them noticing. The only thing you can be sure of at that point is that your program won’t stay installed very long.
更多精彩
赞助商链接