做事情要讲究方法论,做群众工作也不例外
先看图:
呵呵,没啥说的了吧。
| Introduction | 介绍 |
| It is not difficult to set up development environment for A1200 mobile phone in Fedora Core 6 Linux. I will show you how to do it step by step. | 在Fedora Core 6版本的Linux系统下面设置一套用于A1200手机的开发环境是不难的。 我会一步步地告诉你该怎么做。 |
| 1. Download or make crosstool-gcc-3.3.2-gli bc-2.3.2-arm-linux-devel-0.42-1.*.rpm | 1. 下载或自行编译生成 crosstool-gcc-3.3.2-gli bc-2.3.2-arm-linux-devel-0.42-1*.rpm |
| If your Linux is running on a 64 bit x86 system, you may download crosstool-gcc-3.3.2-glibc-2.3.2-arm-lin ux-devel-0.42-1.x86_64.rpm from here. This RPM is made by codeminders. Or if your Linux is running on a 32 bit x86 system, you may download crosstool-gcc-3.3.2-glibc-2.3.2-arm-lin ux-devel-0.42-1.i386.rpm from here or here or here. This RPM is made by me based on SRPM provided by codeminders. Or if you want to compile and make this package by yourself, you may do the following:
Then, you can find the package in /usr/src/redhat/RPMS/ directory. | 如果你的Linux运行在64位的x86系统上,你可以从这里下载crosstool-gcc-3.3.2-glibc-2.3.2-arm-lin ux-devel-0.42-1.x86_64.rpm。这个RPM是codeminders制作的。 或者如果你的Linux运行在32位的x86系统上,你可以从这里 或这里或这里下载crosstool-gcc-3.3.2-glibc-2.3.2-arm-lin ux-devel-0.42-1.i386.rpm。这个RPM是我根据codeminders提供的SRPM制作的。 或者如果你想要自己编译并生成这个安装包,你可以这样做:
|
| 2. Install cross-compiler | 2. 安装交叉编译器 |
Content of crosstool.sh should be: |
把这些作为crosstool.sh文件的内容: |
| if ! echo ${PATH} | /bin/grep -q /usr/crosstool/gcc-3.3.2-glibc-2.3.2/arm-linux/bin ; then PATH=/usr/crosstool/gcc-3.3.2-glibc-2.3.2/arm-linux/bin:${PATH} fi | |
| 3. Install librarys and header files | 3. 安装库文件和头文件 |
|
|
| 4. Build helloworld to verify your development environment | 4. 编译helloworld以验证你的开发环境 |
To verify your development environment, you can try to compile the helloworld sample application.
| 为了验证你的开发环境,你可以尝试编译helloworld程序。
|
| 5. Run helloworld from inside your phone | 5. 在你的手机上运行helloworld |
| By default USBLAN driver should be already include in Linux kernel. To connect to your phone, you may follow these steps:
| 缺省情况下,USBLAN的驱动已经包含在Linux的kernel中了。 为了连接到你的手机,可以这样做:
|
| 6. Use helloworld as template, develop your own application | 6. 把helloworld作为模板,开发你自己的应用 |
| Start your own adventure! | 开始你自己的探索之路吧! |
| Introduction | 介绍 |
| Motovision is an application that can run on some Motorola mobile phones, such as A780, but failed to run on A1200. However, it is not too difficult to fix this issue. I fixed it by writing a TCL script acting as a middle-man between linux-side part and windows-side part of MotoVision. This is a quick and dirty fix, as a temporary solution. | MotoVision可以运行在摩托罗拉的一些手机上,比如A780,但是在A1200上却不行。解决这个问题不是很困难。我写了一个TCL脚本来插在MotoVision的linux端程序和Windows端程序之间,从而给出了一个临时的解决方案。 |
| 1. Downloading | 1. 下载 |
| You need to download the following:
| 需要下载这些东西: |
| 2. Install | 2. 安装 |
| Installation is easy, but there are a few things you may be careful:
| 安装是很简单的。有几点值得注意:
|
| 3. Usage | 3. 使用 |
| To start, follow these steps:
To pause, follow these steps:
You don't need to terminate MVDS_a1200.exe.
To resume, follow these steps:
You don't need to restart MVDS_a1200.exe or motovision.
To terminate motovision process running in your phone, follow these steps:
| 按这个步骤启动:
按这个步骤暂停:
不需要终止MVDS_a1200.exe
按这个步骤继续:
不需要重新启动MVDS_a1200.exe或者motovision。
按这个步骤可以终止手机中的motovision进程:
|
| 4. Known Issues | 4. 已知问题 |
|
|
| 5. Your feedback and help are welcome | 5. 欢迎反馈和帮助 |
|
|
有一次坐地铁,不远处传来一位中年妇女的声音,“你自己没脑子的啊?”,“人家叫你做什么你就做什么啊?”,“叫你跳到地铁下面去你跳不跳的啦?”。 乍一听我还以为是有人在吵架,比如谁占了谁座位,要么就是谁的脚被踩了。扭头一看,却发现原来是一位母亲在教训自己的小孩。仔细听了听,似乎是因为小孩听了同学的话做了件什么事情结果遭到了老师的批评。
不仅仅是小孩子做错了事情,很多时候我们都需要对他人提出批评,至少是表达抱怨。批评固然是应该的,但是如果都像那位母亲一样以斥责的口吻来展开一场口水讨伐,效果肯定不好。
关键在于,我们要分清楚批评与发泄的区别。批评是为了别人好,是为了解决问题,是有明确的目的的。发泄则是为了出自己胸中一口恶气,获得口头之愉快,让对方灰头土脸无地自容。像地铁里那位母亲,本来她应该对自己的小孩进行批评教育,引导小孩按正确的方法去做事情。可实际上呢,她只不过是在发泄自己对小孩“不争气”的不满,发泄起来固然痛快,小孩也不可能有什么反驳,只能任由母亲酣畅淋漓地斥责,可是这能达到最好的效果吗?当然不能。所以,这位母亲是自私的,为了自己的痛快,不顾对孩子的正确教育方法。
在日常生活中,类似的场景也很多。比如,朋友们一起去饭店吃饭,结果由于服务不规范、卫生不好、饭菜质量有问题、等待时间太长等等原因,往往需要向饭店提出抱怨、批评、投诉。在这种情况下,特别要掌握好分寸。因为我们的目的是吃顿好饭,营造朋友之间融洽的聚会气氛,如果一味地把发泄自身不满放在首位,固然可以出气,但是考虑一下你身边的朋友们吧,他们大老远跑了来可不是为了观看你如何有理有据地训斥一个乡下来的服务生。所以,出现纠纷时一定要明确自己的目的,抓住要矛盾,尽快找到一个解决办法才是重要的。何况万一碰到一个油嘴滑舌之人,争来争去只会越争怨气越大,连发泄的目的都达不到。
所以,我们要用批评作为手段,达到合理的目的,而不要贪图发泄的痛快。特别是在教育小孩的时候,做出生气的样子是需要的,但是借教育的名义发泄自己的脾气是不好的。有一个很简单的办法来检验自己是不是在借机发泄,那就是看看自己说的话里面“反问句”和“陈述句”的比例。对小孩子应该尽量用“陈述句”,少用“反问句”。心平气和的批评教育应该是以“陈述句”为主。