Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Which standards/models are applicable to Android?

 
James Elsey
Ranch Hand
Posts: 228
Android IntelliJ IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeff,

Coming from a Java web application background, I'm familiar with the MVC approach to application structure. Its nice and tidy, and generally easy to manage

Are there any similar models for Android? So far all my sample Android applications have been a bunch of classes all bundled into a single package, I can see this getting messy as the application grows

Do you recommend any structuring to separating classes, and organising the class heirarchy?

Something like :

com.mydomain.activities
com.mydomain.domainclasses
com.mydomain.utils

etc

Any suggestions?
 
Jeff Friesen
author
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi James,

I think that using packages for organizational purposes is the way to go. I'm going to refer you to Mihai Preda's Android package name blog post, which has alot of useful and interesting material on Java packages and the Android package (the apk file).

All the best.

Jeff
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic