随笔- 295  文章- 0  评论- 9  阅读- 46万 
03 2013 档案
Eclipse format 快捷键无效的解决办法
摘要:一直都只能用右键菜单的方式进行自动排版。后来发现是与搜狗输入法的热键冲突,更改搜狗热键即可。 阅读全文
posted @ 2013-03-31 13:42 Jiang, X. 阅读(2782) 评论(0) 推荐(0) 编辑
Android 重载返回键消息
摘要:@Overridepublic boolean onKeyDown(int keyCode, KeyEvent event) {if(keyCode == KeyEvent.KEYCODE_BACK){Toast toast = Toast.makeText(MainActivity.this, "back", Toast.LENGTH_SHORT); toast.show();}return true;} 阅读全文
posted @ 2013-03-27 20:57 Jiang, X. 阅读(853) 评论(0) 推荐(0) 编辑
load data with matlab
摘要:1. simple approach:load:Load data from MAT-file into workspaceexample:array = load('1.txt')2. flexible approach:step 1.Open file, or obtain information about open files: fopen()step2.Read data from binary file: fread() 阅读全文
posted @ 2013-03-25 22:18 Jiang, X. 阅读(192) 评论(0) 推荐(0) 编辑
How to download codes from Google Code
摘要:Use the Linux OS1. Install GIT:sudo apt-get install git2. Clone from the server:git clone https://code.google.com/p/audio-analyzer-for-android/3. Done:johnny@johnny-Rev-1-0:~$ git clone https://code.google.com/p/audio-analyzer-for-android/Cloning into 'audio-analyzer-for-android'...remote: C 阅读全文
posted @ 2013-03-21 15:38 Jiang, X. 阅读(273) 评论(0) 推荐(0) 编辑
Android 应用程序中资源的引用
摘要:1. 在源代码中使用R.resource_type.resource_name或者android.resource_type.resource_name2.在xml文件中的使用引用自定义资源:@[package:]type/name引用系统资源android:type/name 阅读全文
posted @ 2013-03-10 15:49 Jiang, X. 阅读(225) 评论(0) 推荐(0) 编辑
Android程序调试方法
摘要:1.使用System.out.println语句a 直接在代码中插入:System.out.println("johnny: test");b 打开Window--Show View--Other--Android--LogCatc Filter : johnny 得到:由此可见,在输入println消息的时候要有独特的特征,这样才能够在众多的消息中通过filter找到它。注意,filter所过滤的是text栏的内容,对其他栏没有任何的过滤作用。2. 使用Log类aimport android.util.Log;bLog.d("TAG", "j 阅读全文
posted @ 2013-03-10 14:21 Jiang, X. 阅读(336) 评论(0) 推荐(0) 编辑
What Compsci textbooks don't tell you: Real world code sucks
摘要:What Compsci textbooks don't tell you: Real world code sucksBy Dave MandlPosted in Developer, 21st December 2012 10:19 GMTThere’s a kind of cognitive dissonance in most people who’ve moved from the academic study of computer science to a job as a real-world software developer. The conflict lies 阅读全文
posted @ 2013-03-07 20:50 Jiang, X. 阅读(627) 评论(0) 推荐(0) 编辑
Top 50 Computer Science Blogs
摘要:In 2007, computer science lecturer Neil McBridearguedthatcomputer sciencewas going the way of Latin languages…that a variety of factors might contribute to the death of this field, including robots, lack of interest and progress in computing itself. Three years later, computer science seems to be ho 阅读全文
posted @ 2013-03-07 19:42 Jiang, X. 阅读(304) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示