alert dialog
AlertDialog.Builder dlg = new AlertDialog.Builder(MainActivity.this); dlg.setMessage("Pressione por 3 segundos para ficar online"); dlg.setNeutralButton("OK" , null); dlg.show();