Posted By

arpit on 05/19/10


Tagged

android


Versions (?)

Create an Alert Dialog


 / Published in: Java
 

URL: http://developer.android.com/guide/appendix/faq/commontasks.html#alerts

  1. new AlertDialog.Builder(this)
  2. .setMessage("There was an error loading data")
  3. .setPositiveButton("Ok", null)
  4. .show();

Report this snippet  

You need to login to post a comment.