 <p>First of all, there really isn't any system.out to print to in android. What you should try instead is printing to the log. For information on how to print to the log, check <a href="http://developer.android.com/reference/android/util/Log.html" rel="nofollow">this</a> out. To then see the activity of the log (including messages you printed to it), checkout the <a href="http://developer.android.com/guide/developing/tools/logcat.html" rel="nofollow">logcat</a>.</p> <p>Second, for information on creating an alert dialog, please <a href="http://developer.android.com/guide/topics/ui/dialogs.html#AlertDialog" rel="nofollow">view this documentation</a>.</p>