本函数将字符串以 MIME BASE64 编码。此编码方式可以让中文字或者图片也能在网络上顺利传输。在 BASE64 编码后的字符串只包含英文字母大小写、阿拉伯数字、加号与反斜线,共 64 个基本字符,不包含其它特殊的字符,因而才取名 BASE64。编码后的字符串比原来的字符串长度再加 1/3 左右...
分类:
其他好文 时间:
2015-04-14 12:30:52
阅读次数:
136
官方提供的中文文档 http://cn.cocos2d-x.org/article/index?type=cocos2d-x&url=/doc/cocos-docs-master/manual/framework/native/v2/getting-started/setting-up-development-environments/linux-environment-s...
分类:
移动开发 时间:
2015-04-14 11:22:43
阅读次数:
275
1、错误描述
四月 13, 2015 5:56:55 下午 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not fou...
分类:
编程语言 时间:
2015-04-13 22:59:08
阅读次数:
966
1.关于JNIEnv和JavaVMJNIEnv是一个与线程相关的变量,不同线程的JNIEnv彼此独立。JavaVM是虚拟机在JNI层的代表,在一个虚拟机进程中只有一个JavaVM,因此该进程的所有线程都可以使用这个JavaVM。当后台线程需要调用JNI native时,在native库中使用全局变量...
分类:
其他好文 时间:
2015-04-13 20:43:52
阅读次数:
175
adb shell monkey -p com.android.recorder --throttle 360 --ignore-crashes --monitor-native-crashes --ignore-security-exceptions --ignore-timeouts...
分类:
数据库 时间:
2015-04-13 20:33:53
阅读次数:
313
本文有2个模块 :
A 构建JNI环境
*写JAVA本地方法
public static native int sum(int a,int b);
*新增jni文件夹 写JNI粘合层 利用javah反编译出.h文件,复制.h至jni文件夹
javah -jni packagename.classname
/* DO NOT EDIT THIS FILE - it is mach...
分类:
其他好文 时间:
2015-04-13 18:58:41
阅读次数:
106
1.昨天的《MIME笔记》中提到,MIME主要使用两种编码转换方式----Quoted-printable和Base64----将8位的非英语字符转化为7位的ASCII字符。虽然这样的初衷,是为了满足电子邮件中不能直接使用非ASCII码字符的规定,但是也有其他重要的意义:a)所有的二进制文件,都可以...
分类:
其他好文 时间:
2015-04-13 14:26:37
阅读次数:
176
不可或缺 Windows Native 之 C 语言: 函数
分类:
编程语言 时间:
2015-04-13 14:15:02
阅读次数:
185
--base64-output[=name]Determinewhentheoutputstatementsshouldbebase64-encodedBINLOGstatements:‘never‘disablesitandworksonlyforbinlogswithoutrow-basedevents;‘decode-rows‘decodesroweventsintocommentedSQLstatementsifthe--verboseoptionisalsogiven;‘auto‘printsbas..
分类:
数据库 时间:
2015-04-13 11:09:02
阅读次数:
282
<The JVM was unable to load the native wlfileio library for the store "_WLS_AdminServer". File and paging stores will continue to function correctly. Specifically, file stores that are configured with...
分类:
编程语言 时间:
2015-04-13 11:06:33
阅读次数:
628