Best practices for developing bigger applications on Android

Posted by Janusz on Stack Overflow See other posts from Stack Overflow or by Janusz
Published on 2010-03-16T13:23:53Z Indexed on 2010/03/16 13:26 UTC
Read the original article Hit count: 420

Filed under:
|

I've already written some small Android Applications, most of them in one Activity and nearly no data that should be persistent on the device.

Now I'm writing an application that needs more Activities and I'm a bit puzzled about how to organize all this. My app will download some data parse it show it to the user and then show other activities depending on the data and the user interaction. Some of that data could be cached, some of it has to be downloaded every time. Some of that data should not be downloaded freshly at the moment the orientation changes, but it should on the moment the activity is created...

Another thing I'm confused about are things like a httpClient. I now for example create a new httpclient for every activity, the same thing for locationlisteners.

Are there books, a blogs or documentations with patterns, examples and advice on organizing larger apps build on android? Everything I found until now are get startet tutorials leaving me alone after 60 lines of code...

© Stack Overflow or respective owner

Related posts about android

Related posts about best-practices