I am following a tutorial to login to an android app using facebook.
I had a lot of problems with hash keys and everything, and I think I solved them all, because my session already got OPENED state.
The problem I am facing right now is that after logging into facebook, when the session is already open, the code executes Request.executeMeRquestAsync() and it never goes into the onComplete() ... any idea?
Here is the code ...
package com.example.firstandroidapp; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import android.app.Activity; import android.content.Intent; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.content.pm.PackageManager.NameNotFoundException; import android.content.pm.Signature; import android.os.Bundle; import android.util.Base64; import android.util.Log; import android.widget.TextView; import com.facebook.Request; import com.facebook.Response; import com.facebook.Session; import com.facebook.SessionState; import com.facebook.model.GraphUser; public class MainActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main);
Thanx is very advanced. David.
source share