当前位置: 首页>>代码示例>>Java>>正文


Java BA.isShellModeRuntimeCheck方法代码示例

本文整理汇总了Java中anywheresoftware.b4a.BA.isShellModeRuntimeCheck方法的典型用法代码示例。如果您正苦于以下问题:Java BA.isShellModeRuntimeCheck方法的具体用法?Java BA.isShellModeRuntimeCheck怎么用?Java BA.isShellModeRuntimeCheck使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在anywheresoftware.b4a.BA的用法示例。


在下文中一共展示了BA.isShellModeRuntimeCheck方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: createInstance

import anywheresoftware.b4a.BA; //导入方法依赖的package包/类
public static B4AClass createInstance(Class<?> handlerClass, Method initializeMethod) throws Exception {
	B4AClass handler = (B4AClass)handlerClass.newInstance();
	initializeMethod.invoke(handler, (Object)null);
	BA ba = handler.getBA();
	if (BA.isShellModeRuntimeCheck(ba)) {
		ba.raiseEvent(null, "initialize", (Object)null);
	}
	return handler;
}
 
开发者ID:AnywhereSoftware,项目名称:B4J_Server,代码行数:10,代码来源:JServlet.java

示例2: afterFirstLayout

import anywheresoftware.b4a.BA; //导入方法依赖的package包/类
private void afterFirstLayout() {
       if (this != mostCurrent)
		return;
	activityBA = new BA(this, layout, processBA, "de.owsianowski.material", "de.owsianowski.material.main");
       
       processBA.sharedProcessBA.activityBA = new java.lang.ref.WeakReference<BA>(activityBA);
       anywheresoftware.b4a.objects.ViewWrapper.lastId = 0;
       _activity = new ActivityWrapper(activityBA, "activity");
       anywheresoftware.b4a.Msgbox.isDismissing = false;
       if (BA.isShellModeRuntimeCheck(processBA)) {
		if (isFirst)
			processBA.raiseEvent2(null, true, "SHELL", false);
		processBA.raiseEvent2(null, true, "CREATE", true, "de.owsianowski.material.main", processBA, activityBA, _activity, anywheresoftware.b4a.keywords.Common.Density, mostCurrent);
		_activity.reinitializeForShell(activityBA, "activity");
	}
       initializeProcessGlobals();		
       initializeGlobals();
       
       BA.LogInfo("** Activity (main) Create, isFirst = " + isFirst + " **");
       processBA.raiseEvent2(null, true, "activity_create", false, isFirst);
	isFirst = false;
	if (this != mostCurrent)
		return;
       processBA.setActivityPaused(false);
       BA.LogInfo("** Activity (main) Resume **");
       processBA.raiseEvent(null, "activity_resume");
       if (android.os.Build.VERSION.SDK_INT >= 11) {
		try {
			android.app.Activity.class.getMethod("invalidateOptionsMenu").invoke(this,(Object[]) null);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
 
开发者ID:so27,项目名称:Material-Actionbar-Color,代码行数:36,代码来源:main.java

示例3: afterFirstLayout

import anywheresoftware.b4a.BA; //导入方法依赖的package包/类
private void afterFirstLayout() {
       if (this != mostCurrent)
		return;
	activityBA = new BA(this, layout, processBA, "de.owsianowski.material", "de.owsianowski.material.seite2");
       
       processBA.sharedProcessBA.activityBA = new java.lang.ref.WeakReference<BA>(activityBA);
       anywheresoftware.b4a.objects.ViewWrapper.lastId = 0;
       _activity = new ActivityWrapper(activityBA, "activity");
       anywheresoftware.b4a.Msgbox.isDismissing = false;
       if (BA.isShellModeRuntimeCheck(processBA)) {
		if (isFirst)
			processBA.raiseEvent2(null, true, "SHELL", false);
		processBA.raiseEvent2(null, true, "CREATE", true, "de.owsianowski.material.seite2", processBA, activityBA, _activity, anywheresoftware.b4a.keywords.Common.Density, mostCurrent);
		_activity.reinitializeForShell(activityBA, "activity");
	}
       initializeProcessGlobals();		
       initializeGlobals();
       
       BA.LogInfo("** Activity (seite2) Create, isFirst = " + isFirst + " **");
       processBA.raiseEvent2(null, true, "activity_create", false, isFirst);
	isFirst = false;
	if (this != mostCurrent)
		return;
       processBA.setActivityPaused(false);
       BA.LogInfo("** Activity (seite2) Resume **");
       processBA.raiseEvent(null, "activity_resume");
       if (android.os.Build.VERSION.SDK_INT >= 11) {
		try {
			android.app.Activity.class.getMethod("invalidateOptionsMenu").invoke(this,(Object[]) null);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
 
开发者ID:so27,项目名称:Material-Actionbar-Color,代码行数:36,代码来源:seite2.java

示例4: afterFirstLayout

import anywheresoftware.b4a.BA; //导入方法依赖的package包/类
private void afterFirstLayout() {
       if (this != mostCurrent)
		return;
	activityBA = new BA(this, layout, processBA, "com.rootsoft.pdfviewer", "com.rootsoft.pdfviewer.main");
       
       processBA.sharedProcessBA.activityBA = new java.lang.ref.WeakReference<BA>(activityBA);
       anywheresoftware.b4a.objects.ViewWrapper.lastId = 0;
       _activity = new ActivityWrapper(activityBA, "activity");
       anywheresoftware.b4a.Msgbox.isDismissing = false;
       if (BA.isShellModeRuntimeCheck(processBA)) {
		if (isFirst)
			processBA.raiseEvent2(null, true, "SHELL", false);
		processBA.raiseEvent2(null, true, "CREATE", true, "com.rootsoft.pdfviewer.main", processBA, activityBA, _activity, anywheresoftware.b4a.keywords.Common.Density);
		_activity.reinitializeForShell(activityBA, "activity");
	}
       initializeProcessGlobals();		
       initializeGlobals();
       
       BA.LogInfo("** Activity (main) Create, isFirst = " + isFirst + " **");
       processBA.raiseEvent2(null, true, "activity_create", false, isFirst);
	isFirst = false;
	if (this != mostCurrent)
		return;
       processBA.setActivityPaused(false);
       BA.LogInfo("** Activity (main) Resume **");
       processBA.raiseEvent(null, "activity_resume");
       if (android.os.Build.VERSION.SDK_INT >= 11) {
		try {
			android.app.Activity.class.getMethod("invalidateOptionsMenu").invoke(this,(Object[]) null);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
 
开发者ID:gearit,项目名称:RadaeePDF-B4A,代码行数:36,代码来源:main.java


注:本文中的anywheresoftware.b4a.BA.isShellModeRuntimeCheck方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。