i need an Activity in my Widget Provider. Is there any way to realize that? The problem is: I want to write a little Facebook Widget but: The Facebook API needs an Activity in the Authorize Function... without this function i get an Facebook Error. Xan i call a Object in my Activity from this Widget ? Or, can i "share" this Object global?
Facebook facebook = new Facebook("X X X");
facebook.authorize(this, new String[] {}, new DialogListener() { });
https://developers.facebook.com/docs/reference/androidsdk/authentication/