Why does trying to POST a node from Android result in "HTTP/1.1 415 Unsupported Media Type"?
I have faced same problem with same situation as you described above. 
After spending 2-3 hours I have got data through:

$formdata = file_get_contents('php://input');


It's worked for me.