刚开始用解析代码。我制作了一个简单的用户注册应用程序,它曾多次注册新用户。在几个用户烧毁后,它停止工作,我没有注册任何新用户。似乎无法弄清问题是什么。 这是代码
Parse.enableLocalDatastore(this);
Parse.initialize(this, "my app-id", "my client-key");
ParseUser user = new ParseUser();
user.setUsername("my name");
user.setPassword("my pass");
user.setEmail("email@example.com");
// other fields can be set just like with ParseObject
user.put("phone", "650-253-0000");
user.signUpInBackground(new SignUpCallback() {
public void done(ParseException e) {
if (e == null) {
// Hooray! Let them use the app now.
} else {
// Sign up didn't succeed. Look at the ParseException
// to figure out what went wrong
}
}
});