Third, you did not write an " android api" you wrote part of an application to interact with a server's ...
stackoverflow.com