本文整理了Java中android.app.Activity.showDialog()
方法的一些代码示例,展示了Activity.showDialog()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Activity.showDialog()
方法的具体详情如下:
包路径:android.app.Activity
类名称:Activity
方法名:showDialog
暂无
代码示例来源:origin: com.uphyca/android-junit4-robolectric
/**
* @param id
* @deprecated
* @see android.app.Activity#showDialog(int)
*/
public final void showDialog(int id) {
mActivity.showDialog(id);
}
代码示例来源:origin: it.tidalwave.bluebill.android/it-tidalwave-android-utilities
/*******************************************************************************************************************
*
*
******************************************************************************************************************/
public void showDialog (final int id)
{
activity.showDialog(id);
}
代码示例来源:origin: stackoverflow.com
public class DateTimeComponent extends RelativeLayout {
public void someListener(Activity act) {
act.showDialog(...);
}
}
代码示例来源:origin: org.openmobster.core.mobileCloud.android.2_0/native-framework
static void showError(final Activity activity)
{
activity.showDialog(0);
}
}
代码示例来源:origin: com.uphyca/android-junit4-robolectric
/**
* @param id
* @param args
* @return
* @deprecated
* @see android.app.Activity#showDialog(int, android.os.Bundle)
*/
public final boolean showDialog(int id,
Bundle args) {
return mActivity.showDialog(id, args);
}
代码示例来源:origin: stackoverflow.com
public class DateTimeComponent extends RelativeLayout {
private Activity activity;
public DateTimeComponent(Activity act){
activity = act;
}
public void someListener() {
activity.showDialog(...);
}
}
代码示例来源:origin: doc-rj/smartcard-reader
mActivity.showDialog(DIALOG_ENABLE_NFC);
代码示例来源:origin: doc-rj/smartcard-reader
public void onResume() {
// register broadcast receiver
IntentFilter filter = new IntentFilter(NfcAdapter.ACTION_ADAPTER_STATE_CHANGED);
mActivity.registerReceiver(mBroadcastReceiver, filter);
if (mNfcAdapter == null || !mNfcAdapter.isEnabled()) {
mActivity.showDialog(DIALOG_ENABLE_NFC);
} else {
mNfcAdapter.enableReaderMode(mActivity, mReaderCallback, READER_FLAGS, null);
}
}
代码示例来源:origin: org.openmobster.core.mobileCloud.android.2_0/native-framework
public void run()
{
try
{
bootstrapActivity(activity);
}
catch(Exception e)
{
//e.printStackTrace(System.out);
ErrorHandler.getInstance().handle(new SystemException(this.getClass().getName(), "onStart", new Object[]{
"Message:"+e.getMessage(),
"Exception:"+e.toString()
}));
activity.showDialog(0);
}
}
}
代码示例来源:origin: org.openmobster.core.mobileCloud.android.2_0/native-framework
activity.showDialog(1);
return;
内容来源于网络,如有侵权,请联系作者删除!