ArViewer  Android Version
Arvos - Augmented reality viewer open source
 All Classes Namespaces Files Functions Variables
Classes | Public Member Functions | Static Public Member Functions | List of all members
com.mission_base.arviewer_android.ArvosHttpRequest Class Reference

Public Member Functions

 ArvosHttpRequest (IArvosHttpReceiver receiver, Context context)
 
void getText (String url)
 
void getImage (String url)
 

Static Public Member Functions

static String urlEncode (String in)
 

Detailed Description

Handling http downloads asynchronously.

Author
peter

Definition at line 51 of file ArvosHttpRequest.java.

Constructor & Destructor Documentation

com.mission_base.arviewer_android.ArvosHttpRequest.ArvosHttpRequest ( IArvosHttpReceiver  receiver,
Context  context 
)

Creates a new asynchronous http request.

Parameters
receiverThe receiver of the downloaded file.
contextThe application context.

Definition at line 65 of file ArvosHttpRequest.java.

Member Function Documentation

void com.mission_base.arviewer_android.ArvosHttpRequest.getImage ( String  url)

Downloads an image file from the web.

Parameters
urlThe url of the file to download.

Definition at line 89 of file ArvosHttpRequest.java.

void com.mission_base.arviewer_android.ArvosHttpRequest.getText ( String  url)

Downloads a text file from the web.

Parameters
urlThe url of the file to download.

Definition at line 78 of file ArvosHttpRequest.java.

static String com.mission_base.arviewer_android.ArvosHttpRequest.urlEncode ( String  in)
static

Encodes an url.

Parameters
inThe url to encode.
Returns
The endoced url.

Definition at line 264 of file ArvosHttpRequest.java.


The documentation for this class was generated from the following file: