chx4

幸福是什么?自我欣赏和东游西荡!

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年8月9日

摘要: The tip of today does not represents a general output for the application state in real time, since QDebug only works in debug compilatos. General usage Some times we prefer to analyse the our application debug messages in a separated file. It is useful when we want to work with Qt-Creator in full code window and we have two monitors (one for coding and another for application execution and debug file). To redirect the output we have to type in Qt 5.1: 阅读全文
posted @ 2013-08-09 12:23 chx4 阅读(400) 评论(0) 推荐(0) 编辑

摘要: Introduction Qt 5.1 introduces a new method in the QWidget class called createWindowContainer(). It allows embedding a QWindow (such as a QQuickView) into a QWidget-based application. This allows combining both QML and widgets in the same application, something that was not possible with Qt 5.0. The new method is well documented (see References at the end of the posting) but I did not see any complete compilable examples of using it, so I thought I would present one here. 阅读全文
posted @ 2013-08-09 12:19 chx4 阅读(2161) 评论(0) 推荐(0) 编辑

2013年7月30日

摘要: 大家在实际工作学习C#的时候,可能会问:为什么我们要为一些已经存在的功能(比如Windows中的一些功能,C++中已经编写好的一些方法)要重新编写代码,C#有没有方法可以直接都用这些原本已经存在的功能呢?答案是肯定的,大家可以通过C#中的DllImport直接调用这些功能。 阅读全文
posted @ 2013-07-30 23:11 chx4 阅读(92) 评论(0) 推荐(0) 编辑

摘要: LEB128即"Little-Endian Base 128",基于128的小印第安序编码格式,是对任意有符号或者无符号整型数的可变长度的编码。 也即,用LEB128编码的正数,会根据数字的大小改变所占字节数。在android的.dex文件中,他只用来编码32bits的整型数。 格式: 阅读全文
posted @ 2013-07-30 00:42 chx4 阅读(708) 评论(0) 推荐(0) 编辑

2013年7月28日

摘要: 桌面列表排列小工具 阅读全文
posted @ 2013-07-28 00:07 chx4 阅读(426) 评论(0) 推荐(0) 编辑

摘要: 异步多客户端通讯框架 阅读全文
posted @ 2013-07-28 00:01 chx4 阅读(257) 评论(0) 推荐(0) 编辑

2013年7月27日

摘要: Dex文件结构查看器 阅读全文
posted @ 2013-07-27 23:58 chx4 阅读(1232) 评论(0) 推荐(0) 编辑

摘要: 龙吟奇门排盘 阅读全文
posted @ 2013-07-27 23:53 chx4 阅读(210) 评论(0) 推荐(0) 编辑

2013年7月26日

摘要: 将apk直接安装到模拟器。 阅读全文
posted @ 2013-07-26 14:14 chx4 阅读(826) 评论(0) 推荐(0) 编辑

摘要: 调试android程序,得到如下提示: [2013-07-26 11:32:00 - Com.charme.app] ------------------------------ [2013-07-26 11:32:00 - Com.charme.app] Android Launch! [2013-07-26 11:32:00 - Com.charme.app] The connection to adb is down, and a severe error has occured. [2013-07-26 11:32:00 - Com.charme.app] You must restart adb and Eclipse. [2013-07-26 11:32:00 - Com.charme.app] Please ensure that adb is correctly located at 'E:\android_sdk\platform-tools\adb.exe' and can be executed. 重启adb以及eclipse都没有办法。 阅读全文
posted @ 2013-07-26 12:24 chx4 阅读(223) 评论(0) 推荐(0) 编辑