Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6a232f5

Browse files
committed
Updated README.md
1 parent 9e0f26a commit 6a232f5

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

README.md

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,13 @@ add the following:
4040
</intent-filter>
4141
</service>
4242

43-
## Simple PHP server-side script for testing
44-
Use this as your server side if you don't have one, and you just want to rapidly test the library.
45-
Upload it to your server and pass "uploaded_file" as the second parameter to the method addFileToUpload (read the next paragraph).
46-
47-
<?php
48-
if ($_FILES["uploaded_file"]["error"] > 0) {
49-
echo "Error: " . $_FILES["uploaded_file"]["error"] . "<br>";
50-
} else {
51-
echo "Upload: " . $_FILES["uploaded_file"]["name"] . "<br>";
52-
echo "Type: " . $_FILES["uploaded_file"]["type"] . "<br>";
53-
echo "Size: " . ($_FILES["uploaded_file"]["size"] / 1024) . " kB<br>";
54-
echo "Stored in: " . $_FILES["uploaded_file"]["tmp_name"];
55-
}
56-
?>
43+
## Examples
44+
In the <b>examples</b> folder you will find:
45+
46+
* a demo server-side php script that handles multipart form upload
47+
* a simple demo application that uses this library
48+
49+
To be able to compile and deploy the demo application, you also need to have <b>appcompat_v7</b> library. You may need to change the path to that library in the demo application's properties.
5750

5851
## How to start android upload service to upload files
5952
For detailed explanation of each parameter, please check JavaDocs.

0 commit comments

Comments
 (0)