2012-07-31 78 views
0

我在我的應用程序 中發出了一個提醒,它在我想要的主要活動中是完美的,但我希望它在三次警告人之後消失..不是每次我回到主要活動似乎Android警報消失

這是我的警報代碼

 new AlertDialog.Builder(this) 
    .setTitle("Browser feature") 
    .setMessage("The browser feature is currently beta, so it won't work perfectly. To get an image from the internet, click on the browser then google your image, and save it then import it using the gallery option.") 
    .setPositiveButton("Continue", new DialogInterface.OnClickListener() { 
     public void onClick(DialogInterface dialog, int which) { 
      Log.d("AlertDialog", "Positive"); 
     } 
    }) 
    .show(); 

回答