popup message in android -


i m developing application..

i want create popup message stable while don't close...

i want tutorial me alertdialog boxes.

thanks in advance.

i think searching "dialog" box thereby can show alert message, confirmation message, etc. user.

for more info, refer this: http://developer.android.com/reference/android/app/dialog.html ,

here example on alert dialog box: http://www.androidpeople.com/android-alertdialog-example/ .

from commented code:

alertdialog.builder alt_bld = new alertdialog.builder(this).create();      alt_bld.setmessage("apprika target achieve..."); alt_bld.setcancelable(false); alt_bld.setpositivebutton("yes", new onclicklistener() { public void onclick(dialoginterface dialog, int which) { // todo auto-generated method stub } }); alt_bld.setnegativebutton("no", new onclicklistener() { public void onclick(dialoginterface dialog, int which) { // todo auto-generated method stub dialog.cancel(); } });  alt_bld.show(); 

and showing alert dialog box in click event, write alert.show(); code inside click listener.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -