我工作中接触到的所有的IT知识所形成的思维导图,掌握和需要去掌握的,留此存照,会根据知识的更新持续更新。
图片太大,如果100%,页面无法显示. 100%图可以通过以下方式查看:图片上,右键,查看图片,可以单独看到,并能放大缩小~~
我工作中接触到的所有的IT知识所形成的思维导图,掌握和需要去掌握的,留此存照,会根据知识的更新持续更新。
图片太大,如果100%,页面无法显示. 100%图可以通过以下方式查看:图片上,右键,查看图片,可以单独看到,并能放大缩小~~
在最近的arm开发中,因为一些特定的需求,需要使用从C文件中调用以前C++程序中的类和方法。参考网上的一些资料,本文1将相关的知识点简要总结如下:c&c++混合编程的注意事项,在c++函数中调用c函数的方法,在c函数中调用c++函数的方法,在c函数中调用C++对象及其中数据的方法。并在本文的末尾给出C和C++混合编程的例子,例子分别以Makefile和VC6.0工程的形式展现。 Continue reading »
手机的J2ME程序需要很多的弹出窗口。如“正在下载,请等候”,“确认退出?”,等等。LWUIT提供了很方便的机制Dialog。 oDialog类的路径为com.sun.lwuit.Dialog,提供了能够方便弹出窗口的函数show(),共计15个。参数最少四个,最多有八个。可控制的标题文字,提示文字,ok键显示文字,cancel键显示文字,弹出时提示类型,弹出停留时间,图标等等,可以说相当强大滴。
最近我们项目遇到一个问题:窗口弹出需要时间太长,几乎是用户可以感觉到的时间。比如,我希望用户在点退出键后,弹出对话框,询问用户是否确认弹出,以避免不小心的弹出。于是代码中以下片段(简化版)
PopupDialog.show( "确认退出?", "确认退出?", "是", "否" );
但是此代码在运行时,按键后感觉过了好一会才会弹出,如果我是用户,我认为这么长的等待时间是不可忍受了,有那么一下子,我甚至认为手机死机了,这个必须要加速。
顺便,我们认为那个标题栏是多余的,当然如果没法去掉留着,也无大碍。
那么问题就是:如何给弹出的窗口加速,同时最好能去掉标题栏(也是觉得去掉可能能加速)。 Continue reading »
手机开发java程序时中,很多场合需要动态图片,比如在程序必须等待的时候,一个循环转圈的圆比起没有任何提示和动静,给用户的使用体验要好很多。 本文的说的方法主要应用LWUIT类库来绘制界面的j2me程序1。
本文假设读者已经配置好j2me能够建立一个能够正常工作的J2me的工程。如果对此不熟悉,请参考how-to-setup-development-environment-4-j2me+eclipse。
Generally, a task of developing a program involves three steps. Analysis, design, programming. First we gain an understanding about problem(Analysis), then we identify the key concepts about a solution(design), at last we progrmming this solution(programming).These three steps are not seperated literaly, every step may contains others and interact with others.
[Programming] learning-cpp – Tao of Programmer
Thousands and thousands articles and books are there involving in c++ language. So why I want write this series about c++.
In my option, the best way to confirm that you have mastered some knowledge is you can teach that to others clearly in your tone. So this series is my teaching plan. Forthmore, notes are good for memory.
Followed with process of reading The C++ Programming Language1, I will develop articles from problems about some obscure language detail and thoughtss when resolving some test from this book.
I will focus on many conceptual points.
The series will focus on C++, yet not limite in c++, also on compiling, debugging, assembler, Operating System, etc.
1.the c++ programming language wiki, the c++ programming language homepage.