我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

使用Progressbar将图像插入服务器

Alright, so I have 8 (Bitmap) images to be inserted in my database, through PHP,and I want to ask the logic on how can I create a Progress Dialog, that is 0% - 100%. I cant show any code to you because I haven't started it yet but I think I should use Asynctask right?

yes you can upload image using multipart in Asynctask See demo put asynctask in for loop till total number of images that you want to upload

近期文章

  • 使用JOIN时将MySQL值转换为PHP变量
  • 如何使用PHP表单一次上传多个图像?
  • 使用Imagick裁剪除了底部10%的图像以外的所有图像
  • WooCommerce根据小计显示其他购物车字段
  • 如何在PHP中使用api获取Twitter订婚率和推文详情?
  • 如何发送产品ID以便在另一个页面上显示?
  • 将href更改为onclick
  • 来自本地PHP的Axios GET只返回代码而不是执行
  • 致命错误:在我网站上的布尔值上调用成员函数fetch_assoc()[重复]
  • 在电子邮件中显示Google地图[重复]
  • CKEditor没有保存在utf-8中
  • 将数组从表单插入到SQL
  • 使用str_replace来改变the_title()
  • php wordpress中的'ticked'复选框[复制]
  • 匿名函数中的PHP范围问题
  • php array_filter过滤太多了
  • 错误“CSRF令牌无效。 请尝试在Symfony3中重新提交表单
  • Laravel路线,路线中的GET参数
  • “字段列表”中的未知列'test'[重复]
  • 替代图像在PHP中不起作用

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华