开发者

Suggest a good Android development workflow

I'm interested in developing android applications. I've a background of Java/Swing/C++/ajax developer so I think I may find myself at home. As I installed the SDK I noticed that I can't follow my usual java d开发者_如何学Pythonevelopment scheme: building base libraries, then the final app. In fact I'd like to develop libs and test them in a more convenient environment like, Swing. There is no way I can use android libs in pure swing apps... Do you have any suggestion about these topics and what's your development process?


If you have written a lib that does call functions from the android jar, you can write JUnit 4 tests in a separate Project and execute them to test your lib functions. This forces you to keep some of your functionality separated from the android specific things and you can then be sure that all the errors you tested for are gone before you introduce the problems that can arise if you are running on the device. You can do JUnit Tests on the emulator too but that is a little bit more complex.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜