public static void showAlert ( Context context , String title , String text ) { Builder alertBuilder = new Builder ( context ) ; alertBuilder . setTitle ( title ) ; alertBuilder . setMessage ( text ) ; alertBuilder . create ( ) . show ( ) ; }
Display a simple alert dialog with the given text and title .