title: How to properly structure my java code?
body: <p>I am creating an android app.  It is my first "real" android app that I'm creating and I'm also new to Java.  I have never created any program with OOP before so I'm a little confused with the structure of things.  I have some PHP, experience but I initially learned to program with Turbo Pascal which was procedural (inline?).</p>
  
  <p>Anyway...  Here is the situation:</p>
  
  <ol>
  <li>Main Activity - This is the activity for controlling the actual Android app that I have.</li>
  <li><p>class ScoreClock - This is where i have the following methods:</p>
  
  <pre><code>public ScoreClock // initialize all the fields(variables) within the ScoreClock class.
  public getMinutes(long ms)  // take ms remaining and calculate minutes left.
  public getSeconds(long ms)  // take ms remaining and calculate seconds left.
  </code></pre></li>
  </ol>
  
  <p>Now...  I'm thinking of adding <code>public void updateBoard()</code> which would be for updating all of the values to the actual scoreboard.  What I'm confused with is...  Should the updateBoard() method go into the MainActivity.java file or the ScoreClock.java file?</p>
  
  <p>The updateBoard method will be accessing the android fields/variables and changing the values of TextViews and such, so I'm thinking that it should be placed in MainActivity.java.</p>
  
  <p>Could someone please clarify?</p>