摘要:
Java使用FTP上传文件被损坏的问题http://192.210.60.138/dz/forum.php?mod=viewthread&tid=21&fromuid=1(出处: IStudy)现象:在制作图像文件上传FTP服务器的时候,网页打开图像文件无法显示,导出图像发现图像已经被损坏了原因:在... 阅读全文
摘要:
Jni 异常捕获http://192.210.60.138/dz/forum.php?mod=viewthread&tid=19&fromuid=1(出处: IStudy)#define LOG_TAG "JNIHelp"#include "JNIHelp.h"#include "android/l... 阅读全文
摘要:
直接上代码:#include #include #include #include #include "base64.h"extern "C" {//Base64 编码int Base64Encode(unsigned char *OrgString, unsigned char *Base64St... 阅读全文
摘要:
对话框自定义:相对布局的java代码实现创建AlertDiaglogWindow window = dlg.getWindow()创建布局,代码为相对布局载入布局,载入相关空间,设置相关控件的位置代码如下 int bgImageViewID = 10; int iconI... 阅读全文
摘要:
JNIEXPORT jint JNICALL Java_com_encrypt_EncryptActivity_cputExtra(JNIEnv *env, jobject, jobject mContext, jstring actionName, jobjectAr... 阅读全文
摘要:
#include "aes.h"#include "modes.h"#include "e_os2.h"#include "aes_locl.h"#include "opensslconf.h"AES_KEY aes;//aes cbc模式加解密用到的向量unsigned char iv[AES_B... 阅读全文