File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Android and the fly likes Application Design Approach Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Application Design Approach" Watch "Application Design Approach" New topic

Application Design Approach

Sj Yard

Joined: Oct 09, 2012
Posts: 3
An app is being developed.
What is the best approach to proceed before starting?

Method 1:
- flow chart
- have all Layouts designed
- code all .java files
- link them all in manifest

Method 2:
- flow chart
- have all layouts designed
- code one .java and link it in manifest and then move on to coding the next .java

Method 3:
- flow chart
- first layout designed -> .java coded -> link in manifest
- second layout designed -> .java coded -> link in manifest
- repeat

Please advice which is the best approach.
Jeff Verdegan

Joined: Jan 03, 2004
Posts: 6109

IMHO, it's best to get a few smaller pieces working front to back, then move on to the next piece, rather than building one whole layer before moving on to the next layer. Then once you've got a couple pieces proven out vertically, you may want to go flesh out larger chunks of a couple of lower layers before doing more end-to-end work. I find that alternating between vertical and horizontal work helps me keep a more holistic picture of the project in mind and also helps flesh out design problems and stuff I just plain didn't think about sooner rather than later, which makes them easier to fix.

Note that I'm talking about software development in general, not Android in particular.
Naishadh Parmar
Ranch Hand

Joined: Jun 02, 2011
Posts: 95

My approach has always been the "Method 3"

Code all java files separately and link them in the manifest
I agree. Here's the link:
subject: Application Design Approach
It's not a secret anymore!