Showing an Android Alert Dialog

Following code will show Android Alert Dialog.

public void showOkAlertDialog(CharSequence message)
     new AlertDialog.Builder(this)
        .setPositiveButton("OK", null)

Message Must be something you need to show to user.


Popular posts from this blog

Fatal: LoadModule: error loading module 'mod_sql_mysql.c'

Regular Expression Route Constraints And Route Names in Laravel 5.4