Back to project page fh-android-sdk.
The source code is released under:
Copyright (c) 2014 FeedHenry Ltd, All Rights Reserved. Please refer to your contract with FeedHenry for the software license agreement. If you do not have a contract, you do not have a license to use...
If you think the Android project fh-android-sdk 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.feedhenry.fhandroidexampleapp; // www. j a va 2 s .com import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; public class FhUtil { public static void showMessage(Context pContext, String pTitle, String pMessage){ AlertDialog.Builder alert = new AlertDialog.Builder(pContext); alert.setTitle(pTitle); alert.setMessage(pMessage); alert.setCancelable(false); alert.setPositiveButton("Ok", new AlertDialog.OnClickListener() { public void onClick(DialogInterface dialog, int which) { dialog.dismiss(); } }); alert.create(); alert.show(); } }