Post XML file to a page from Android

Working on one of my projects, I met a pretty simple task – post constructed XML file to certain page on a Web Server.

You will need to create additional class for this purpose SBGen.java:

Then just add the following code to your Action: