Android 关于如何高效率开发一个 Android App

ruijun · January 14, 2016 · Last by monkeytest replied at February 13, 2016 · 10954 hits

前段时间在知乎segmentfault回答过类似的问题。在这里总结一下,希望帮到有需要的人。

网络模块

事件总线

依赖注入

图片模块

数据库模块

响应式编程

日志输出

测试相关

  • testerhome 测试社区,里面有很多干货

  • bugtags 新一代的、专为移动测试而生的缺陷发现及管理工具

  • testin 为移动测试而生

  • Emmagee 网易出品的,是监控指定被测应用在使用过程中占用机器的 CPU、内存、流量资源的性能测试小工具。

  • awesome-android-testing A curated list of awesome android testing libraries.

崩溃统计平台


架构设计

这个肯定得了解下 MVC,MVP,MVVM 还有设计模式这些,这里有几个开源项目推荐下

philm

Movie collection and information app for Android. Github 地址:https://github.com/chrisbanes/philm

SimpleNews

基于 Material Design 和 MVP 的新闻客户端 Github 地址:https://github.com/liuling07/SimpleNews

GankDaily

A application show technical information every working days, use MVP pattern. Github 地址:https://github.com/maoruibin/GankDaily

SimplifyReader

Github 地址:https://github.com/SkillCollege/SimplifyReader

NBAPlus

Github 地址:https://github.com/SilenceDut/NBAPlus

PhotoNoter

Github 地址:https://github.com/yydcdut/PhotoNoter

Meizhi

Github 地址:https://github.com/drakeet/Meizhi


其他

leakcanary

检查内存泄露 Github 地址:https://github.com/square/leakcanary

DebugDrawer

Android Debug Drawer for faster development Github 地址:https://github.com/palaima/DebugDrawer

ViewServer

Local server for Android's HierarchyViewer Github 地址:https://github.com/romainguy/ViewServer


APP 内测,分发


PS:开源框架虽然好用,但最好要了解框架存在的一些 bug 和坑,遇到问题可以给作者提 issue,一般这些有名的框架,作者都会很积极的回答。

另外打个广告,推荐下自己的Android-Dev-Favorites,里面收集了 Android 开发的干货。

看来我是学不会了

#1 楼 @ywencn 所以还是React Native对我们 Web 程序员简单一点。。

哈哈,大赞 Testerhome

You need to Sign in before reply, if you don't have an account, please Sign up first.