GithubHelp home page GithubHelp logo

ayasealter / android-uploadmultipartimage Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lidong1665/android-uploadmultipartimage

0.0 2.0 0.0 17.49 MB

Android 仿照微信发说说,既能实现拍照,选图库,多图案上传 使用Retrofit技术。

Java 99.91% HTML 0.09%

android-uploadmultipartimage's Introduction

Android-UploadMultipartImage

Android 仿照微信发说说,既能实现拍照,选图库,多图案上传 使用Retrofit技术。 #使用方法:详见博客 http://blog.csdn.net/u010046908/article/details/50767904 #项目的运行效果: #服务器端接收文件的action UploadFile.java

@Controller public class UploadFile extends ActionSupport {

 /**
 * 
 */
private static final long serialVersionUID = 1L;

private File[] file;//文件数组
private String description;//说说内容
public File[] getFile() {
	return file;
}
public void setFile(File[] file) {
	this.file = file;
}


public String getDescription() {
	return description;
}
public void setDescription(String description) {
	this.description = description;
}
@Action("/upload")
public void upload()  {
	System.out.println("上传的文件="+Arrays.toString(file));
	System.out.println("说说内容="+description);
}

}

#服务器运行效果:

android-uploadmultipartimage's People

Contributors

lidong1665 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.