Reputation: 11
Can any one guide me how to integrate FB sdk for Mono platform for android in C#. I've tried implementing from some sample JAVA codes which are available but have not got any success. I would appreciate if some one can guide me step by step instructions to follow and sample code for Mono for android platform for the same.
Upvotes: 1
Views: 1944
Reputation: 5222
Here is something to look at:
Facebook Connect bindings for MonoDroid
And then there is :
I would suggest looking at the Facebook.MonoTouch first.
Or you could try using share intents:
public void share(String subject,String text)
{
Intent intent = new Intent(Intent.ActionSend);
intent.Type = "text/plain";
intent.PutExtra(Intent.ExtraSubject, subject);
intent.PutExtra(Intent.ExtraText, text);
StartActivity(Intent.CreateChooser(intent, GetString(R.string.share)));
}
Upvotes: 1