Android - Php receive string from android
I have following PHP-Script:
<?php $parameter=$_POST['uploaded_text']; $data = $parameter.PHP_EOL; $fp = fopen('uploads/test.txt', 'a'); fwrite($fp, $data); ?>
How can I give to
$parameters a string value from android device ?
I was looking for tutorials with HttpURLConnection but I only find 'HttpClient' which I can't use still.
Could someone tell me how I could simply do it ?
thanks in advance !!