• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Which standards/models are applicable to Android?

 
Ranch Hand
Posts: 231
Android IntelliJ IDE Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
author
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic