`
weimou66
  • 浏览: 1244539 次
文章分类
社区版块
存档分类
最新评论

tips: 每次eclipse里面修改了Java代码后点击运行按钮,BlackBerry模拟器每次都需要重新启动,为什么啊?怎么解决?

 
阅读更多

这两天,一朋友的开发环境中, 每次eclipse里面修改了Java代码后,然后点击运行按钮,BlackBerry模拟器每次都需要重新启动,为什么啊?

大家都知道BlackBerry模拟器启动是很耗时间的,这不耽误事情吗?

我也很奇怪了,为什么我的开发环境里面,修改了代码,在模拟器里面关闭正在运行的程序,然后点击运行按钮,BlackBerry模拟器不需要重新启动,直接就可以在里面再次点开程序运行,方便的很呢

问题的解决:

后来才注意到,在他的项目里面,BlackBerry_App_Descriptor.xml选择了Auto-start on startup!!

这样,即使他修改了Java代码后,在模拟器里面关闭正在运行的程序,其实仍然有个后台的Java程序在运行。(很明显,他的程序有Alternate Entry Point)

而黑莓模拟器/真机,在程序运行的时候,特别是有后台程序运行的时候,这个程序的升级将导致模拟器/真机的重新启动。

解决办法:

在开发测试中,暂时关闭Auto-start on startup即可~~~~

现在好了,该朋友的开发和调试速度大大加快,happying.................

分享到:
评论

相关推荐

    java-swing-tips, 包含 Java Swing的示例.zip

    java-swing-tips, 包含 Java Swing的示例 java-swing-tips英语: 使用小源代码示例介绍 Java Swing的GUI 程序。 许可证https://github.com/aterai/java-swing-tips/blob/master/L

    博客系统:web前端+管理后台+java源码

    Mblog 开源Java博客系统, 支持多用户, 支持切换主题 ...运行:src/main/java/com/mtons/mblog/BootApplication ...如遇到启动失败/切换环境变量后启动失败的,请先maven clean后再尝试启动 IDE得装lombok插件

    疯狂java实战演义源码-AndroidTips:https://github.com/cokuscz/AndroidTips.git

    疯狂java实战演义源码 AndroidTips A collections of tips in Android developing. Android开发总结。 ##前言 我们在日常开发中,会遇到各种各样的问题,或大或小。正是通过解决这些问题,使得我们的开发技能得到...

    1000 Java Tips

    1000 Java Tips

    Java2核心技术卷I+卷2:基础知识(第8版) 代码

    Java 核心技术 卷1 Index Chapter 1: An Introduction to Java 1 Java As a Programming Platform 2 The Java “White Paper” Buzzwords 2 Java Applets and the Internet 7 A Short History of Java 9 ...

    java源码blob-java-swing-tips:JavaSwing示例

    java源代码块java-swing-tips :介绍一个带有源代码的小样本的Java Swing GUI程序。 :使用小源代码示例介绍Java Swing的GUI程序。 什么是摇摆 Swing是一组Java标准组件(库、 UI工具包),用于创建GUI (图形用户...

    java8集合源码-tips:小贴士

    java8 集合源码 git java jackson 字段动态过滤 Json 2 Pojo User-agent-utils 杂项 swagger 文档  java 8 Java8代码片段 反射工具 restful RESTful文档管理 api设计 JWT oauth2 PDF spring RequestMapping 使用...

    330 Java Tips(330 JAVA 小技巧)

    介绍330个Java小技巧,对于提高你的Java编程水平有极大的帮助.

    WPF Tips: Uncheckable radio buttons

    《WPF Tips: Uncheckable radio buttons》一文的可执行程序示例与源代码。 原文网址:http://blog.csdn.net/xinyaping/article/details/7887663 作者:辛亚平 工程文件为Visual Studio 2008 with .Net Framework 3.5...

    Eclipse中文使用教程

    Eclipse中文使用教程 pdf文档 1 .Eclipse 简介 1 .1历史背景 1 .2开放原始码软件 1 .3 Eclipse 版本介绍 1 .4跨语言 、 跨平台 2. Eclipse Platform 2 .1概观 2 .2架构 2 .3项目与资料夹 2 .4平台核心 2 .5工作区 ...

    FPGA设计小Tips:如何正确使用FPGA的时钟资源

    本文主要分享了FPGA设计小技巧,如何正确使用FPGA的时钟资源,希望对你的学习又说帮助。

    简易版扫雷代码Java扫雷入门

    简易版扫雷程序代码 public class MineSweeperGame2 extends Application { Cell[][] cell; int totalMines=0; int markBomb=0; //总的地雷数量,简单会有10个,一般会有40个,困难99个 int showMines=10; ...

    Java.EE.Development.with.Eclipse.2nd.Edition.178528534

    Develop, debug, test, and troubleshoot Java EE 7 applications rapidly with Eclipse About This Book Go beyond simply learning Java EE APIs and explore the complete workflow of developing enterprise ...

    50 Tips and Tricks for MongoDB Developers

    This collection of MongoDB tips, tricks, and hacks helps you resolve issues with everything from application design and implementation to data safety and monitoring. You get specific guidance in ...

    ACCAF5考前Tips:考试重点及答题技巧下.doc

    ACCAF5考前Tips:考试重点及答题技巧下.doc

    [Java] Java 编程面试揭秘 英文版

    Java is a popular and powerful language that is a virtual requirement for businesses making use of IT in their daily operations For Java programmers this reality offers job security and a wealth of ...

    java时间空间性能优化附带个人测试代码

    代码是我阅读<java time and space performance tips>这本小书后,自己添加的几个测试代码。

    Android代码-Android-Tips

    Android-Tips This is an awesome list of tips for android. If you are a beginner, this list will be the first choice for you when you have a difficult time. Welcome Star and Fork, your support is my ...

    Android代码-kotlin_tips

    汇总Kotlin相对于Java的优势,以及怎么用Kotlin去简洁、务实、高效、安全的开发,每个tip都有详细的说明和案例代码,争取把每个tip分析得清楚易懂,会不断的更新维护tips,欢迎fork进来加入我们一起来维护,有问题的...

Global site tag (gtag.js) - Google Analytics