title: Android FB Connect
body: <p>I am trying to integrate the official FB SDK for android. 
  below is the basic code</p>
  
  <pre><code>public class FbTestActivity extends Activity {
      Facebook facebook = new Facebook("112374492201730");
  
      @Override
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.main);
          facebook.authorize(this, new String[] { "email", "read_stream" },
  
          new DialogListener() {
  
              public void onComplete(Bundle values) {
              }
  
              public void onFacebookError(FacebookError error) {
              }
  
              public void onError(DialogError e) {
              }
  
              public void onCancel() {
  
              }
          });
      }
  
      @Override
      public void onActivityResult(int requestCode, int resultCode, Intent data) {
          super.onActivityResult(requestCode, resultCode, data);
  
          facebook.authorizeCallback(requestCode, resultCode, data);
      }
  }
  </code></pre>
  
  <p>When i open the app the Login or (if looged in) Permission dialog never shows up. Some dialog opens for a few mili secs and closes down. </p>