自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(37)
  • 资源 (3)
  • 收藏
  • 关注

原创 How to new an emulator for Android?

How to new an emulator for Android? An emulator is a device that is used to simulate mobile device. All Android applications you develop can run on Android platform and be shown on emulator. T

2011-06-17 17:54:00 2096

原创 Downloading Android SDK and ADT Plugin Setup

Abends: Cannot complete the install because one or more required items could not be found.  Software being installed: Android Development Tools 11.0.0.v201105251008-128486 (com.android.ide.eclip

2011-06-16 23:34:00 4728

原创 An overview of Android

This is the first time to study Android for me, I referred to the Android Zone. When i saw Android at the first time, i fall in love with it. I feel that it is very interesting. Compared to IOS, i pre

2011-06-15 22:54:00 2055 1

原创 Transform RCP applications to web applications using RAP

I suppose you have a RCP application, now if you want to migrate it to RAP platform. You can refer to the following article Transform RCP Applications to Web Applications Using RAP i am one of the aut

2011-06-23 23:14:00 2634

原创 My environment of phone application development, Android

The following is my laptop computer enviroment:OS: Win7CPU: Intel Core i3RAM: 2GType: 32bitIDE: Eclipse3.6Target Platform: Android2.2 - API Level8At first, I used Android 3.1 and API

2011-06-21 23:01:00 1824

原创 ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example.helloa

ProblemWhen i run an Android application HelloAndroid, the program is blocking the following sentences. ========================================================================================

2011-06-17 17:33:00 24392 1

原创 Failed to install HelloAndroid.apk on device 'emulator-5554!

 When i run an application of Hello Android, I find the following logs. ======Problem==================================================[2011-06-17 10:17:44 - HelloAndroid] --------------------

2011-06-17 16:47:00 4451 1

原创 Android development resources i used

I listed some resources for developing Android. In my environment, i use Win7 system.Classic Eclipse3.6.2: It is the classic Eclipse i used.Android-sdk_r11-windows: Downloaded the Android SDK by

2011-06-17 13:50:00 1887

原创 About WAS

<br /><以下内容仅作总结,仅供参考!><br /> <br />1.可以到下面这个路径下找到进程号:<br /> <br />WebSphere7000/AppServer64/profiles/AppSrv01/logs/server1  , 用命令:vi server1.pid 查看<br /> <br />2.如果自定义web.xml文件,自定义的内容在下面路径中可以找到:<br /> <br />WebSphere7000/AppServer64/profiles/AppSrv01/confi

2010-11-08 17:23:00 1696

原创 RAP Servlet&EntryPoint&Branding

此文章为技术交流,有关RAP应用中的Servlet & EntryPoint & Branding的用法,可能会存在某些商业敏感词汇,文章不做任何商业用途,请慎重转载!

2010-11-02 15:22:00 2229

原创 Eclipse 配置项中菜单和工具条Action的Path

<br />仅作参考!菜单栏配置项路径<br /> <br /><br /><br />文件:file <br />o "开始" 区: fileStart <br />o "新建"菜单内部的"附加"组标志: new/additions <br />o "新建"区,在"新建"菜单下面: new.ext <br />o "关闭" 区: close.ext <br />o "保存" 区: save.ext <br />o "打印" 区: print.ext <br />o "打开" 区: open.ext <br

2010-10-25 15:06:00 3447

原创 Java 正则表达式

正则表达式符号及相关含义基本符号<br /> <br />     .       表示任意一个字符<br />    /s       空格字符(空格键, tab, 换行, 换页, 回车) <br />    /S       非空格字符([^/s])<br />    /d       一个数字,(相当于[0-9]  )<br />    /D        一个非数字的字符,(相当于[^0-9] )<br />    /w       一个单词字符(word character)  (相当于 [a-z

2010-10-15 13:51:00 1713

原创 org.xml.sax.SAXParseException: Content is not allowed in trailing section.

<br /><个人总结,仅作参考!><br /> <br />The exception as following :<br /> <br /><br />[Fatal Error] server.msdk.perf.all.xml:192:1: Content is not allowed in trailing section.<br />org.xml.sax.SAXParseException: Content is not allowed in trailing section.<br />at

2010-09-30 10:18:00 6570 4

原创 RWT Theming in RAP(RAP主题Theme设置)

RWT Theming in RAP                                             ----总结有关Theme在RAP中的用法    下面是关于如何在RAP中使用Theme控制RWT相关widgets的外观主题,包括如何引用*.css 文件。     有关RWT Theme可以从RAP的help中找到,其中详细说明了如何使用Theme,在这里我只是做一下简单的总结,后面主要说一下相应的css properties的用法等。Introduction

2010-09-24 21:44:00 2998 4

原创 RAP EntryPoint(s) and Servlet(s) (实现多个EntryPoint)Redirect URL

RAP1.3

2010-08-28 23:21:00 2672

原创 RAP Perspective Bar(透视图栏 右上角)

<br />  RAP 1.3  要实现在workbench中显示perspective bar,只需要在继承WorkbenchWindowAdvisor的子类中preWindowOpen();中设置,代码如下:<br /><br />值得注意的是如果想要让perspectiveBar出现在右上角(如下图所示),<br /><br /> <br />则必须设置setShowCoolBar(true); and setShowPerspectiveBar(true); 因为perspectiveBar默认在右

2010-08-28 23:13:00 2775

转载 Eclipse RCP应用系统开发方法与实战2-- 定制应用程序窗口属性(仅作自己参考)

[转]Eclipse RCP应用系统开发方法与实战2-- 定制应用程序窗口属性 5.1.4  定制应用程序窗口属性向导生成的应用程序主界面并不能满足要求,存在很多问题,例如,主界面运行时没有自动居中,主界面大小没有固定,主窗口标题栏文字应该是“高校经费测算系统”。再看看图5-3、图5-4的标题栏有区别没有?当然有,图5-3所示界面的标题栏是很漂亮的弧线形,而图5-4所示界面的标题栏则不是。如此等等,需要重新设置。1.闪屏画面应用程序主界面显示之前往往需要做一些初始化处理工作,就是启动时间可能稍微

2010-08-23 15:09:00 3159

转载 Eclipse RCP应用系统开发方法与实战1-- RCP基本框架(自己觉得有用作为参考)

[转]Eclipse RCP应用系统开发方法与实战1-- RCP基本框架 5.1.3 RCP基本框架一个基本的RCP应用程序已经搭建起来,尽管还非常稚嫩,却已经初具雏形。探究一下RCP的基本框架对于理解RCP大有好处。从前面图5-6可以看出,Eclipse已经自动生成了Application.java、ApplicationActionBarAdvisor.java、ApplicationWorkbenchAdvisor.java、ApplicationWorkbench-WindowAd

2010-08-23 15:07:00 3844

原创 代码实现对Workbench的简单配置

<br />对workbench的简单配置包括控制perspective的现实,view如何show,还有如何在在菜单perspective 和 view 中添加shortcut。<br /> <br />    示例代码如下:public class ApplicationWorkbenchAdvisor extends WorkbenchAdvisor {      /* (non-Javadoc)      * @see org.eclipse.ui.application.Workb

2010-08-20 14:31:00 2610

转载 How to use the JFace Tree Viewer(TreeViewer)--1

<br />     这是一篇不错的文章,细细读来还是很有帮助!等有时间了翻译一下与大家共享!How to use the JFace Tree ViewerSummary<br /> The goal of this article is to teach you how to use TreeViewers in your Eclipse plug-ins or stand-alone JFace/SWT applications. We’ll start with a simple

2010-07-21 15:17:00 4972

转载 Eclipse RCP perspective 最大化设置

实现在RCP程序启动后将窗口最大化,其中一种方式是覆写ApplicationWorkbenchWindowAdvisor 类的父类的postWindowCreate() 方法,使其在应用启动后让窗口自动最大化:/*** 这个方法在窗口恢复到以前保存的状态(或者新建一个窗口)之后,* 打开窗口之前(调用).*/public voidpostWindowCreate(){    super.postWindowCreate();    //设置打开时最大化窗口    getWindowConfigurer().

2010-07-09 17:38:00 2725

原创 What is a plugin fragment? (插件片段是什么?)

Sometimes it is useful to make part of a plug-in optional, allowing it to be installed, uninstalled, or updated independently from the rest of the plug-in. For example,a plug-in may have a library that is specific to a particular operating system or

2010-07-06 16:39:00 1419

原创 java.lang.InstantiationException:(实例化异常)

<br />首先看一下异常:<br />java.lang.InstantiationException: com.ibm.msdk.ui.session.view.actions.SImportAction<br />    at java.lang.Class.newInstance0(Class.java:340)<br />    at java.lang.Class.newInstance(Class.java:308)<br />    at com.ibm.msdk.ui.sess

2010-06-30 15:50:00 18517 2

原创 在RAP中实现多用户访问(Multi-User on RAP)

     在RAP中实现多用的访问不是一件非常难的事情,如果您有web开发经验,相信您对于session的理解已经很好。     RAP中是把每个用户的访问看成一个Session,每个Session的管理是程序内部实现的,这个我们暂时可以不研究,我的目标就:如何在打开浏览器的时候将一个Object放入session中,然后在适当的时候能够得到这个session中的Object。     好了,有了这个目标就简单了很多,HttpSession session = RWT.getSessionStore().g

2010-06-22 08:41:00 1202 1

转载 RAP/FAQ

Getting Started I found a bug in RAP. Where should I report it? The best way to report a problem or request a new feature in RAP isto use the Bugzilla system. Please follow the instructions in RAP Bug Reporting Howto when submitting a bug report. Mor

2010-06-21 10:01:00 5623

转载 Java API 文档 网址目录(中英文)

<br />   java API Docs是学习和使用Java语言中最经常使用的参考资料之一,完整的Java APi  文档                                         中文版文档共包括32个类库。但是长期以来此文档只有英文版和日文版,对于中国地区的Java开发者来说相当的不便。通过Sun公司的翻译团队10个月的不懈努力以及广大网友的热心支持,Java API中文文档的翻译工作如期完成,呈现到中国广大的Java用户和学习者面前。<br />Sun 官方下

2010-06-18 19:56:00 5389

原创 Eclipse the selected wizard could not be started...

在编写插件import wizard时,增加了extensions :org.eclipse.ui.importWizards,同时实现了IImportWizard或者继承wizard,但是在运行插件后发现如下错误这是由于build.properties缺少source... = src/导致的,之前文件内容为修改后文件内容为:比较解决!

2010-06-10 14:52:00 20399 1

原创 org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automati

    在插件的开发中,正常的加入extentions :org.eclipse.ui.views,同时增加了几个view,然后选中工程右键run——》java application,结果在运行出来的工程中打开添加的View出现如下错误报告:org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically

2010-06-10 09:17:00 5851

原创 类所在插件包

1.org.eclipse.core.runtime.IPath并不是在插件org.eclipse.core.runtime_.jar中,而是在插件org.eclipse.equinox.common_.jar中,其中IPath可以通过

2010-06-09 11:52:00 653

原创 RAP upload file 上传文件

    有过RCP开发经验的开发人员都知道,在rcp中实现文件选择器很简单,但是如何在rap中实现文件选择呢?    要实现文件的选择首先要借助于RAP Team的org.eclipse.rwt.widgets.upload插件,其中有类似于文件选择器的组件Upload,此插件属于beta 没有release,所以可以到eclipse的官网通过cvs下载,http://www.eclipse.org/rap/incubator.php     要说明的是Upload不同于其它的组件,实际上其内部已经实现了一

2010-06-08 19:03:00 1854 2

原创 Plugin中plugin.properties的用法

<br />有时候在项目中可能一些常量不能直接写到plugin.xml文件中,可以采用写到plugin.properties中的办法,但是有了这个文件还是不够的,还是需要在plugin.xml中的MANIFEST.MF中加上<br />"Bundle-Localization:plugin"<br /> <br />如有时候会在plugin.xml中的extensions中这样写“%result.label”<br /><br />这些信息存放在与plugin.xml在同一目录下面的plugin.prope

2010-06-02 20:02:00 1366

原创 OSGI Fragment在创建RAP和RCP工程项目中的使用

<br />    借助于创建rcp和rap的使用,说明fragment的用法<br /> <br />      首先fragment可以认为是plugin的一个片段,通俗一点说就是从属于plugin,fragment可以像plugin一样创建,在创建fragment的过程中设置Host-Plugin即可,其中有Fragment属于的Plugin ID等信息,创建Fragment不需要dependencies Host Plugin,因为Fragment可以说就是Plugin的一部分,同时Fragment

2010-06-02 19:35:00 1401

原创 RAP应用、 配置参数(案例)--1

    创建一个RAP 的Application其实只需要实现扩展点org.eclipse.rap.ui.entrypoint,同时创建对应的class implements IEntryPoint接口。其中需要实现的方法是createUI(),一般的内容如下:    public int createUI() {        Display display = PlatformUI.createDisplay();        WorkbenchAdvisor advisor = ne

2010-06-02 19:14:00 1254

原创 toArray()需要注意的问题

我们在使用toArray()方法的时候,通常会遇到转型无值的问题,例如:List widgetList = new ArrayList(); String[]  widgetArray = (String[])widgetList.toArray();  这样的转型很明显是错误的,我们知道,java中转型基本要遵循向上转型的问题,在这里,如果采用上述转法,widgetArray

2009-04-29 17:09:00 708

原创 Eclipse GEF 和公共View ID

 独立于Eclipse的GEF简单日语教程可以参见:http://www13.plala.or.jp/observe/GEF/GEF_StandAlone.htmlhttp://www13.plala.or.jp/observe/GEF/GEF_Tool_StandAlone.html Eclipse提供的几个常用公共视图的ID,在定义perspective时可能会用到,如

2009-04-20 10:08:00 905

原创 SWT中多线程(Thread)控制进度(ProgressBar)条示例

/* * @(#)TestSWTThreadTaskConsole.java 1.0 09/03/26 */package cn.edu.tsinghua.cs.keg.andy.swt;import org.eclipse.swt.SWT;import org.eclipse.swt.events.SelectionAdapter;import org.eclipse.swt.events.

2009-03-27 10:58:00 2746

原创 SWT编写QQ个人资料界面 案例 例子

/* * @(#)QQPersonalSetWindows.java 1.0 09/03/26 * * All rights reserved. */package cn.edu.tsinghua.cs.keg.andy.swt;import org.eclipse.swt.SWT;import org.eclipse.swt.custom.SashForm;imp

2009-03-26 11:17:00 2934 3

SVN使用文档tortoisesvn_zh_cn.chm

这是一本chm格式的SVN使用文档,里面结合大量的图片,教你如何使用SVN,很经典!

2009-03-30

Eclipse ME 中文文档

这是一个Eclipse Me 的中文文档,写的还是不错的了!

2009-03-27

eclipse swt api (English)

这是一个chm格式的swt api,2我找了好久,已经算是好的了,特别提示,这是英文的!中文的没找到!

2009-03-19

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除