本文整理汇总了Java中org.robovm.cocoatouch.uikit.UIApplication类的典型用法代码示例。如果您正苦于以下问题:Java UIApplication类的具体用法?Java UIApplication怎么用?Java UIApplication使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
UIApplication类属于org.robovm.cocoatouch.uikit包,在下文中一共展示了UIApplication类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: main
import org.robovm.cocoatouch.uikit.UIApplication; //导入依赖的package包/类
public static void main(String[] argv) {
NSAutoreleasePool pool = new NSAutoreleasePool();
System.setProperty(org.slf4j.impl.SimpleLogger.DEFAULT_LOG_LEVEL_KEY, "TRACE");
IosGraphics.init();
GLAdapter.init(new IosGLAdapter());
UIApplication.main(argv, null, RobovmLauncher.class);
pool.drain();
}
开发者ID:opensciencemap,项目名称:vtm,代码行数:11,代码来源:RobovmLauncher.java
示例2: didFinishLaunching
import org.robovm.cocoatouch.uikit.UIApplication; //导入依赖的package包/类
@Override
public boolean didFinishLaunching(UIApplication application, NSDictionary launchOptions) {
Thread launchThread = new Thread() {
@Override
public void run() {
Application.launch(MainApplication.class);
}
};
launchThread.setDaemon(true);
launchThread.start();
return true;
}
开发者ID:gabrieltavaresmelo,项目名称:ConversorTemperaturaFXiOS,代码行数:15,代码来源:RoboVMJFXLauncher.java
示例3: main
import org.robovm.cocoatouch.uikit.UIApplication; //导入依赖的package包/类
public static void main(String[] args) throws Exception {
System.setProperty("glass.platform", "ios");
System.setProperty("prism.text", "native");
NSAutoreleasePool pool = new NSAutoreleasePool();
UIApplication.main(args, null, RoboVMJFXLauncher.class);
pool.drain();
}
开发者ID:gabrieltavaresmelo,项目名称:ConversorTemperaturaFXiOS,代码行数:9,代码来源:RoboVMJFXLauncher.java
示例4: main
import org.robovm.cocoatouch.uikit.UIApplication; //导入依赖的package包/类
public static void main(String[] argv) {
NSAutoreleasePool pool = new NSAutoreleasePool();
UIApplication.main(argv, null, IOSLauncher.class);
pool.drain();
}
开发者ID:DaanVanYperen,项目名称:tox,代码行数:6,代码来源:IOSLauncher.java
示例5: main
import org.robovm.cocoatouch.uikit.UIApplication; //导入依赖的package包/类
public static void main(String[] argv) {
NSAutoreleasePool pool = new NSAutoreleasePool();
UIApplication.main(argv, null, RobovmLauncher.class);
pool.drain();
}
开发者ID:creationjeuxjava,项目名称:spaceShell,代码行数:6,代码来源:RobovmLauncher.java
示例6: didBecomeActive
import org.robovm.cocoatouch.uikit.UIApplication; //导入依赖的package包/类
@Override
public void didBecomeActive(UIApplication application) {
super.didBecomeActive(application);
audio.startAudio();
}
开发者ID:manhluong,项目名称:pd-for-libgdx,代码行数:6,代码来源:RobovmLauncher.java
示例7: willResignActive
import org.robovm.cocoatouch.uikit.UIApplication; //导入依赖的package包/类
@Override
public void willResignActive(UIApplication application) {
audio.stopAudio();
super.willResignActive(application);
}
开发者ID:manhluong,项目名称:pd-for-libgdx,代码行数:6,代码来源:RobovmLauncher.java
示例8: willTerminate
import org.robovm.cocoatouch.uikit.UIApplication; //导入依赖的package包/类
@Override
public void willTerminate(UIApplication application) {
audio.dispose();
super.willTerminate(application);
}
开发者ID:manhluong,项目名称:pd-for-libgdx,代码行数:6,代码来源:RobovmLauncher.java
示例9: main
import org.robovm.cocoatouch.uikit.UIApplication; //导入依赖的package包/类
public static void main(String[] argv) {
NSAutoreleasePool pool = new NSAutoreleasePool();
UIApplication.main(argv, null, RobovmLauncher.class);
pool.drain();
}
开发者ID:manhluong,项目名称:pd-for-libgdx,代码行数:6,代码来源:RobovmLauncher.java
示例10: main
import org.robovm.cocoatouch.uikit.UIApplication; //导入依赖的package包/类
public static void main(String[] argv) {
NSAutoreleasePool pool = new NSAutoreleasePool();
UIApplication.main(argv, null, FlippyBirdApplicationDelegate.class);
pool.drain();
}
开发者ID:michaelfairley,项目名称:flippy_bird,代码行数:6,代码来源:FlippyBirdApplicationDelegate.java
注:本文中的org.robovm.cocoatouch.uikit.UIApplication类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论