title: Make Error Messages In Android Code
body: <p>I' am making an app that connects to the database and they introduce the data.
  But problem what I have it is that they didn't introduce the data in to the database :).
  So i want to know if there it is possible to put some message in to the code to know if the applicaction is arriving to that line in the code.</p>
  
  <p>I was trying to put some code like this: </p>
  
  <p><code>new AlertDialog.Builder(this).setTitle("Argh").setMessage("Works?").setNeutralButton("Close", null).show();</code></p>
  
  <p>But that code I can only put in "onCreate()", so there it is some code that I could put on every line of the app without giving me any error?</p>
  
  <p>Thanks for any answer, Merry Christmas.</p>