import com.parse.ParseException;
import com.parse.ParseUser;
import com.parse.SignUpCallback;
public void signUpUser(String username, String password, String email)
ParseUser user = new ParseUser();
user.setUsername(username);
user.setPassword(password);
// other fields can be set just like with ParseObject
user.put("phone", "650-253-0000");
user.signUpInBackground(new SignUpCallback()
public void done(ParseException e)
// Hooray! Let them use the app now.
// Sign up didn't succeed. Look at the ParseException
// to figure out what went wrong