Back to project page android.
The source code is released under:
Copyright (c) 2013 ApiBootstraper Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Sof...
If you think the Android project android 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.apibootstraper.mobile; // w w w . j a va 2 s . c o m import android.app.Application; import android.app.ProgressDialog; import android.content.Context; public class TodoApplication extends Application { public ProgressDialog progressDialog; /** * * @param context */ public void showProgressDialog(Context context) { progressDialog = ProgressDialog.show(context, getString(R.string.loading), getString(R.string.loading), true); } /** * */ public void hideProgressDialog() { if (progressDialog != null) { progressDialog.hide(); } } }