Skip to content

Instantly share code, notes, and snippets.

@AbijeetP
Created June 7, 2013 10:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AbijeetP/5728348 to your computer and use it in GitHub Desktop.
Save AbijeetP/5728348 to your computer and use it in GitHub Desktop.
ASPX Code that is callled on the web service by the android code. You can find the android code https://gist.github.com/AbijeetOSM/5728322
[WebMethod]
[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
#region Save User Data
public string saveUserData(string name, string email, string address)
{
Contact cntObj = new Contact(name, email, address);
// Save Contact Details takes care of all the storage part and such.
return saveContactDetails(cntObj);
}
#endregion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment