public class ReflashImageThread implements Runnable
{
Context context;
static boolean begin = true;
public static Uri uri;
public ReflashImageThread(Context context)
{
this.context = context;
}
public void run()
{
while (begin) {
reflashImagesDatabase(this.context);
begin = false;
}
}
public static void reflashImagesDatabase(Context context)
{
context.sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED, Uri.parse("file://"
+ Environment.getExternalStorageDirectory())));
}
}更新数据库线程
最新推荐文章于 2024-07-25 16:55:38 发布
2266

被折叠的 条评论
为什么被折叠?



