改正下
if (size != fwrite(imageInfo->pixelData, 1, size, fp))
{
__android_log_print(ANDROID_LOG_INFO, "SanAngeles", "write failed\n");
return -1;
}
输出before decodePNG
after decodePNG
open successfully
write successfully
但是sdcard中不产生任何文件
if (size != fwrite(imageInfo->pixelData, 1, size, fp))
{
__android_log_print(ANDROID_LOG_INFO, "SanAngeles", "write failed\n");
return -1;
}
输出before decodePNG
after decodePNG
open successfully
write successfully
但是sdcard中不产生任何文件
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货