Back to project page android-rackspacecloud.
The source code is released under:
MIT License
If you think the Android project android-rackspacecloud listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.rackspacecloud.android; //from www. j a v a 2 s.com import java.util.ArrayList; import org.apache.http.HttpEntity; import com.rackspace.cloud.files.api.client.ContainerObjects; import android.app.Application; public class AndroidCloudApplication extends Application { private boolean taskProcessing; private boolean deletingObjectProcessing; private boolean deletingContainerProcessing; private boolean downloadingObject; private HttpEntity downloadedObject; private ArrayList<ContainerObjects> curDirFiles; public void setAddingObject(boolean processing){ taskProcessing = processing; } public boolean isAddingObject(){ return taskProcessing; } public void setDownloadedEntity(HttpEntity obj){ downloadedObject = obj; } public HttpEntity getDownloadedEntity(){ return downloadedObject; } public void setDownloadingObject(boolean processing){ downloadingObject = processing; } public boolean isDownloadingObject(){ return downloadingObject; } public void setDeleteingObject(boolean processing){ deletingObjectProcessing = processing; } public boolean isDeletingObject(){ return deletingObjectProcessing; } public void setDeletingContainer(boolean processing){ deletingContainerProcessing = processing; } public boolean isDeletingContainer(){ return deletingContainerProcessing; } public ArrayList<ContainerObjects> getCurFiles(){ return curDirFiles; } public void setCurFiles(ArrayList<ContainerObjects> files){ curDirFiles = new ArrayList<ContainerObjects>(); for(ContainerObjects obj : files){ curDirFiles.add(obj); } } }