Back to project page appservices-android-push-example.
The source code is released under:
Apache License
If you think the Android project appservices-android-push-example listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.ganyo.pushtest; //from ww w . ja v a2 s . c o m import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; public class AlertDialogManager { public void showAlertDialog(Context context, String title, String message) { AlertDialog alertDialog = new AlertDialog.Builder(context).create(); alertDialog.setTitle(title); alertDialog.setMessage(message); alertDialog.setButton(AlertDialog.BUTTON_POSITIVE, "OK", new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int which) { } }); alertDialog.show(); } }