Code example for AssetFileDescriptor

Methods: createInputStreamgetLength

	public void setBodyString(String pBody){
		body = pBody;
	public void setBodyFile(AssetFileDescriptor file) throws IOException{
		stream = file.createInputStream();
		streamLength = file.getLength();
	public String getCached(){
		return data.getString(url, null);
	public void addGetArg(String key, String value) throws URISyntaxException{
		url += key+"="+value+"&";
		request.setURI(new URI(url));
Connect your IDE to all the code out there  Get Codota for Java