Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Which standards/models are applicable to Android?  RSS feed

 
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
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!