//Code By kbz
说明:保存了视频或者图片之后打开qq的图库却发现不存在,是因为图库没更新
mian.iyu
call(null,"mjava","photo.更新",路径)
photo.mjava
import android.content.Intent;
import android.net.Uri;
import java.io.File;
public 更新(String 目录)
{
File file = new File(i.fdir(目录));
activity.sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, Uri.parse("file://" + file)));
}