给定以下代码。我想将标题“请等待呼叫激活”转换为印地语(我在assets文件夹中提供了字体)。
public ShakeEventsListener(Context context, OnShakeListener mShakeListener) {
this.context = context;
this.mShakeListener = mShakeListener;
startTime = 0;
movecount = 0;
elapsedTime = 0;
pDialog = new ProgressDialog(context);
pDialog.setTitle(" Please wait for the call to be activated");
pDialog.setProgressStyle(ProgressDialog.STYLE_SPINNER);
complexPreferences = MyApplication.getComplexPreference();
}