This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure 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
  • 0
  • 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
  • 0
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic