title: Create user in Firebase, Android
body: <p>I'm trying to create a user in Firebase, but nothing happens when I am using the createUser() function.</p>
  
  <pre><code>Firebase ref = new Firebase("https://myApp-88ea7.firebaseio.com/");
                  ref.createUser(email, password, new Firebase.ValueResultHandler&lt;Map&lt;String, Object&gt;&gt;() {
                      @Override
                      public void onSuccess(Map&lt;String, Object&gt; result) {
                          Log.i("SUCCESS", "Successfully created user account with uid: " + result.get("uid"));
                      }
                      @Override
                      public void onError(FirebaseError firebaseError) {
                          // there was an error
                          Log.i("Error", firebaseError.getDetails());
                      }
                  });
  </code></pre>
  
  <p>In fact, I don't seem to enter either onSuccess() or onError(). I am trying to follow <a href="https://www.firebase.com/docs/android/guide/login/password.html" rel="nofollow">this guide</a> </p>
  
  <p>I have enabled sign-in methods. I get this message when calling the function:</p>
  
  <blockquote>
    <p>call createSocket() return a new socket</p>
  </blockquote>
  
  <p>What am I doing wrong?</p>