Dear All,

I am developing one application for facebook. In this application when
user click on login button i start WebView acitvity there user can
login. On success of login i start activity from where user pressed
that login button.

Now My problem is On main activity I get all friends list from
facebook. That takes some time. So i want to show ProgressDialog,
however that progress dialog is not showing up in main activity.

Can anyone help me in this?

Here is my code.

On Login success i am using this method:

public void onSuccess(String sessionKey, String secretKey, String uid)

        {

                startActivity(getIntent());
        }

On Start method is as follows:
@Override
        protected void onStart() {
                // TODO Auto-generated method stub
                super.onStart();
               welcome = new ProgressDialogthis.context);
                welcome.setTitle("Please wait..");
                welcome.setMessage("Loading Posts");
                welcome.setCancelable(false);
               welcome.show();
               frienduids = fbClient.getFriends();
              welcome.hide();

}

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to