Java MessageBox
No Comments

發布:
更新:2015-05-17 14:21:05

    private void msg_box(String title, String msg)    {
        AlertDialog.Builder alertDialog = new AlertDialog.Builder(this);
        alertDialog.setTitle(title);
        //alertDialog.setPositiveButton("OK", this);
        //alertDialog.setNegativeButton("Cancel", this);
        alertDialog.setMessage(msg);
        alertDialog.show();
    }

 


This entry was posted in Functions, Java By Weil Jimmer.

About Weil Jimmer

Hi! Everyone! My name is Weil Jimmer. This is my personal blog. I'm a webmaster of this site. I hope the site will be popular. Now, Let's go! Enjoy gaining more knowledge.
More Details About Me : https://weils.net/profile.php


Leave a message.

Only the first 10 comment will show.