摘要: libxml是C语言写的xml解析库,是我们开发可移植程序的首选,下面讲述将其移植到android的步骤1.下载已经配置好的源代码包android_libxml2.rar http://pan.baidu.com/s/1sjpusFj 该包里还有libxml2所依赖的字符转码库libiconv,也是... 阅读全文
posted @ 2014-08-15 18:15 郭晓倩 阅读(1518) 评论(0) 推荐(0) 编辑
摘要: 转自:http://blog.csdn.net/mxlxiao7/article/details/8978930问题发生概述:程序编译正常,在用Eclipse调试执行时,报错Unable to execute dex: Multiple dex files define具体解决方案如下: 在项目... 阅读全文
posted @ 2014-08-15 17:59 郭晓倩 阅读(131) 评论(0) 推荐(0) 编辑
摘要: SDK.h 1 #ifndef SDK_H 2 #define SDK_H 3 4 #include "AsyncProxy.h" 5 #include "Module.h" 6 #include 7 #include 8 #include 9 using std::map;10 using... 阅读全文
posted @ 2014-08-15 17:53 郭晓倩 阅读(631) 评论(0) 推荐(0) 编辑
摘要: DES加解密算法是一个挺老的算法了,现在给出它的C语言版。des.h 1 #ifdef __cplusplus 2 extern "C" { 3 #endif 4 5 void setKey(const char key[8]); 6 char* des(const char datas[]);... 阅读全文
posted @ 2014-08-15 17:41 郭晓倩 阅读(835) 评论(0) 推荐(0) 编辑
摘要: 网络传输经常用base64编码的数据,因此我们需要将其解码成正常字符集合。 base64.h 1 #ifdef __cplusplus 2 extern "C" { 3 #endif 4 5 char * base64_encode( const unsigned char * binda... 阅读全文
posted @ 2014-08-15 17:35 郭晓倩 阅读(818) 评论(0) 推荐(0) 编辑