• 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

Application Design Approach

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 95
Python C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My approach has always been the "Method 3"

Code all java files separately and link them in the manifest
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic