Reputation: 1879
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.
I was trying to put some code like this:
new AlertDialog.Builder(this).setTitle("Argh").setMessage("Works?").setNeutralButton("Close", null).show();
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?
Thanks for any answer, Merry Christmas.
Upvotes: 1
Views: 352